Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 110.2 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002563/0.002563, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.241/2.241, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 55.44 kB / 300.6 MB, free: 6.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 49.45 MB / 350.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.006531/0.1534, allocations: 2.776 MB / 352.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1554, allocations: 0.6973 MB / 353.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.1557, allocations: 4 kB / 353.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.156, allocations: 31.77 kB / 353.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1563, allocations: 75.39 kB / 353.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.1568, allocations: 95.83 kB / 353.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.1574, allocations: 354.5 kB / 354.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.1577, allocations: 72.98 kB / 354.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.1581, allocations: 139.5 kB / 354.3 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1584, allocations: 159.3 kB / 354.4 MB, free: 492 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.1585, allocations: 20 kB / 354.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.1585, allocations: 20 kB / 354.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1587, allocations: 59.75 kB / 354.5 MB, free: 392 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.1589, allocations: 143.2 kB / 354.7 MB, free: 248 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1593, allocations: 263.6 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1594, allocations: 0 / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1594, allocations: 4 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.1594, allocations: 4 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002319/0.1617, allocations: 0.6687 MB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.1618, allocations: 8.031 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.1619, allocations: 32.56 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.1625, allocations: 268.8 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.1625, allocations: 16.81 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.1626, allocations: 16.38 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1639, allocations: 314 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1639, allocations: 0 / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.164, allocations: 15.94 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.164, allocations: 8 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.1655, allocations: 289.5 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.1683, allocations: 0.9646 MB / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/0.173, allocations: 0.4903 MB / 358 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.1742, allocations: 216.7 kB / 358.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.1743, allocations: 3.984 kB / 358.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.1753, allocations: 241.7 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 4.308e-06/0.1753, allocations: 0 / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002472/0.1778, allocations: 461.5 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1779, allocations: 114.8 kB / 359 MB, free: 11.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.1783, allocations: 233 kB / 359.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.1784, allocations: 29.7 kB / 359.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1786, allocations: 160.2 kB / 359.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1787, allocations: 70.98 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1789, allocations: 45.94 kB / 359.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1791, allocations: 330.8 kB / 359.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.1798, allocations: 144.4 kB / 360 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.1805, allocations: 176.2 kB / 360.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.1818, allocations: 304.1 kB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1819, allocations: 4 kB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001743/0.1836, allocations: 406.8 kB / 360.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.1837, allocations: 37.64 kB / 360.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1837, allocations: 0 / 360.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.1838, allocations: 4 kB / 360.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/0.1866, allocations: 243.6 kB / 361.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/0.1941, allocations: 3.092 MB / 364.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/0.1949, allocations: 59.78 kB / 364.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.195, allocations: 8 kB / 364.3 MB, free: 6.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.1952, allocations: 140.6 kB / 364.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.1953, allocations: 23.72 kB / 364.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.1954, allocations: 34.17 kB / 364.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.1955, allocations: 11.92 kB / 364.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1955, allocations: 4 kB / 364.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1955, allocations: 0 / 364.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.1984, allocations: 0.9117 MB / 365.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1984, allocations: 0 / 365.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/0.2013, allocations: 223.8 kB / 365.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.2013, allocations: 4 kB / 365.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.2014, allocations: 7.984 kB / 365.7 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007611/0.209, allocations: 3.111 MB / 368.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2091, allocations: 0 / 368.8 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.2118, allocations: 0.6021 MB / 369.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.212, allocations: 104.8 kB / 369.5 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.2121, allocations: 7.984 kB / 369.5 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.2127, allocations: 35.95 kB / 369.5 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.2129, allocations: 32.03 kB / 369.6 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.2129, allocations: 4 kB / 369.6 MB, free: 396 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.2133, allocations: 172.5 kB / 369.7 MB, free: 228 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2133, allocations: 0 / 369.7 MB, free: 228 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009433/0.2142, allocations: 79.84 kB / 369.8 MB, free: 148 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002772/0.2145, allocations: 123.1 kB / 369.9 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.2475/0.4621, allocations: 0.526 MB / 370.5 MB, free: 25.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.4622, allocations: 0 / 370.5 MB, free: 25.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003328/0.4655, allocations: 347.6 kB / 370.8 MB, free: 25.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.4664, allocations: 44.73 kB / 370.8 MB, free: 25.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.4693, allocations: 0.794 MB / 371.6 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4696, allocations: 0.7504 MB / 372.4 MB, free: 24.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4698, allocations: 20.02 kB / 372.4 MB, free: 24.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4698, allocations: 1.469 kB / 372.4 MB, free: 24.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01574/0.4855, allocations: 5.41 MB / 377.8 MB, free: 24.11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches