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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 119.2 kB / 17.74 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 190.8 kB / 20.68 MB, free: 2.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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=5032,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=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 51.92 kB / 358 MB, free: 8.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.138, allocations: 49.44 MB / 407.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004494/0.1426, allocations: 2.732 MB / 410.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1442, allocations: 0.7128 MB / 410.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1444, allocations: 0 / 410.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.1446, allocations: 43.58 kB / 410.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1448, allocations: 91.2 kB / 411 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1452, allocations: 99.78 kB / 411.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.1456, allocations: 378.6 kB / 411.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.1458, allocations: 80.69 kB / 411.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1461, allocations: 147.5 kB / 411.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1464, allocations: 175.3 kB / 411.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.1464, allocations: 32 kB / 411.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.1465, allocations: 36 kB / 411.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.1466, allocations: 63.81 kB / 412 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1468, allocations: 163.2 kB / 412.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.1473, allocations: 370.5 kB / 412.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1473, allocations: 0 / 412.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1473, allocations: 0 / 412.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1473, allocations: 0 / 412.5 MB, free: 1.742 MB / 334.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.001677/0.149, allocations: 0.6762 MB / 413.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1491, allocations: 11.89 kB / 413.2 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.1492, allocations: 32.75 kB / 413.2 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.1496, allocations: 269 kB / 413.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1496, allocations: 16.81 kB / 413.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.1497, allocations: 28.31 kB / 413.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008345/0.1506, allocations: 310 kB / 413.8 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1506, allocations: 3.938 kB / 413.8 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.1506, allocations: 8 kB / 413.9 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1506, allocations: 4 kB / 413.9 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.1516, allocations: 289.5 kB / 414.1 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.1535, allocations: 0.961 MB / 415.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.1565, allocations: 0.4981 MB / 415.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/0.1572, allocations: 216.6 kB / 415.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.1572, allocations: 7.969 kB / 415.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000719/0.1579, allocations: 235 kB / 416.1 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.158, allocations: 0 / 416.1 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0017/0.1597, allocations: 466.6 kB / 416.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/0.1598, allocations: 106.8 kB / 416.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1601, allocations: 233 kB / 416.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.1601, allocations: 29.7 kB / 416.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1603, allocations: 160.3 kB / 417 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.1603, allocations: 71.42 kB / 417.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1605, allocations: 53.89 kB / 417.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.1607, allocations: 330.8 kB / 417.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.1612, allocations: 140.3 kB / 417.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.1617, allocations: 181.9 kB / 417.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1627, allocations: 312.7 kB / 418.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1627, allocations: 0 / 418.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001144/0.1639, allocations: 398.9 kB / 418.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/0.164, allocations: 41.62 kB / 418.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.164, allocations: 8 kB / 418.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/0.164, allocations: 8 kB / 418.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.1657, allocations: 227.7 kB / 418.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/0.1708, allocations: 3.396 MB / 422.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.1712, allocations: 52.03 kB / 422.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.1712, allocations: 12 kB / 422.2 MB, free: 7.445 MB / 350.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.0002197/0.1714, allocations: 143.6 kB / 422.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.1715, allocations: 23.86 kB / 422.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.1716, allocations: 30.17 kB / 422.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1716, allocations: 15.92 kB / 422.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1716, allocations: 0 / 422.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1716, allocations: 0 / 422.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.1737, allocations: 0.8933 MB / 423.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1737, allocations: 4 kB / 423.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.1753, allocations: 223.7 kB / 423.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1753, allocations: 4 kB / 423.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.1754, allocations: 7.984 kB / 423.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.1805, allocations: 3.416 MB / 427 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1805, allocations: 4.031 kB / 427 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.1822, allocations: 0.5882 MB / 427.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1823, allocations: 100.9 kB / 427.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1824, allocations: 11.94 kB / 427.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1827, allocations: 40.02 kB / 427.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1829, allocations: 35.89 kB / 427.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.1829, allocations: 7.938 kB / 427.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.1831, allocations: 168.5 kB / 427.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1831, allocations: 4 kB / 427.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.1836, allocations: 75.95 kB / 428 MB, free: 1.285 MB / 350.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.000175/0.1838, allocations: 119.1 kB / 428.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.1864, allocations: 0.5457 MB / 428.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1864, allocations: 0 / 428.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.1884, allocations: 354.2 kB / 429 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1888, allocations: 50.53 kB / 429.1 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2967/0.4856, allocations: 0.6669 MB / 429.7 MB, free: 22.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.4859, allocations: 0.7513 MB / 430.5 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.4861, allocations: 23.23 kB / 430.5 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.4862, allocations: 23.19 kB / 430.5 MB, free: 21.88 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4862, allocations: 0 / 430.5 MB, free: 21.88 MB / 350.1 MB Notification: Performance of Templates: time 0.01139/0.4976, allocations: 3.803 MB / 434.3 MB, free: 21.75 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5198568450286984]