Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001499/0.001499, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001571/0.001571, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 225.2 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 55.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1417, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005054/0.1468, allocations: 2.714 MB / 331.4 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1491, allocations: 0.741 MB / 332.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.1495, allocations: 4 kB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1497, allocations: 39.58 kB / 332.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.15, allocations: 87.14 kB / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1504, allocations: 115.7 kB / 332.4 MB, free: 44 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006155/0.151, allocations: 374.7 kB / 332.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1513, allocations: 80.61 kB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1515, allocations: 147.5 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1518, allocations: 171.3 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.1519, allocations: 35.94 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/0.1519, allocations: 32 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.579e-05/0.152, allocations: 67.81 kB / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1522, allocations: 155.2 kB / 333.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.1527, allocations: 366.8 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1527, allocations: 0 / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1527, allocations: 0 / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1527, allocations: 4 kB / 333.8 MB, free: 14.64 MB / 286.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.001927/0.1546, allocations: 0.6647 MB / 334.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1547, allocations: 15.89 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.1548, allocations: 32.56 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.1553, allocations: 268.5 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.1553, allocations: 16.81 kB / 334.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.1554, allocations: 20.38 kB / 334.8 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.1562, allocations: 314 kB / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1562, allocations: 0 / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.1563, allocations: 8 kB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1563, allocations: 4 kB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009452/0.1572, allocations: 297.5 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.1594, allocations: 0.9646 MB / 336.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.1625, allocations: 498.2 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.1632, allocations: 224.7 kB / 337.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.1632, allocations: 7.984 kB / 337.1 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006614/0.1639, allocations: 237.7 kB / 337.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.514e-06/0.1639, allocations: 0 / 337.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001625/0.1656, allocations: 462 kB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1657, allocations: 106.8 kB / 337.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.166, allocations: 233 kB / 338.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.1661, allocations: 29.7 kB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1662, allocations: 160.2 kB / 338.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.1663, allocations: 67.02 kB / 338.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1664, allocations: 49.92 kB / 338.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1666, allocations: 334.8 kB / 338.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.1671, allocations: 140.4 kB / 338.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.1676, allocations: 176.3 kB / 339.1 MB, free: 9.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/0.1685, allocations: 320 kB / 339.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.1685, allocations: 3.938 kB / 339.4 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001218/0.1698, allocations: 406.8 kB / 339.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.1699, allocations: 33.64 kB / 339.8 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1699, allocations: 0 / 339.8 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.1699, allocations: 8.062 kB / 339.8 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.1717, allocations: 235.6 kB / 340.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/0.1774, allocations: 3.4 MB / 343.5 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.178, allocations: 63.83 kB / 343.5 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.1781, allocations: 8 kB / 343.5 MB, free: 4.332 MB / 286.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.0002684/0.1784, allocations: 145.7 kB / 343.7 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.1785, allocations: 19.81 kB / 343.7 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.1786, allocations: 22.19 kB / 343.7 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1786, allocations: 7.984 kB / 343.7 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1786, allocations: 4 kB / 343.7 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1786, allocations: 7.984 kB / 343.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.1808, allocations: 0.8973 MB / 344.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1808, allocations: 4.031 kB / 344.6 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.1826, allocations: 231.6 kB / 344.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.1826, allocations: 0 / 344.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.1827, allocations: 8 kB / 344.9 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.1879, allocations: 3.404 MB / 348.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.188, allocations: 3.938 kB / 348.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.1897, allocations: 0.5866 MB / 348.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.19, allocations: 96.83 kB / 348.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.1901, allocations: 15.92 kB / 349 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.1905, allocations: 40.02 kB / 349 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.1906, allocations: 31.92 kB / 349 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.1907, allocations: 4 kB / 349 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.1909, allocations: 176.4 kB / 349.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1909, allocations: 0 / 349.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.1915, allocations: 79.84 kB / 349.3 MB, free: 14.18 MB / 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.000206/0.1917, allocations: 119.2 kB / 349.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.1944, allocations: 0.534 MB / 349.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1944, allocations: 0 / 349.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/0.1965, allocations: 351.8 kB / 350.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.197, allocations: 45.55 kB / 350.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.1995, allocations: 0.6732 MB / 351 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.2, allocations: 0.7518 MB / 351.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.2002, allocations: 29.92 kB / 351.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2003, allocations: 23.44 kB / 351.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of SimCode: time 2.504e-06/0.2004, allocations: 0 / 351.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.2105, allocations: 3.75 MB / 355.6 MB, free: 7.832 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches