Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007886/0.0007886, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003416/0.003416, allocations: 160.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8351/0.8351, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.788e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002389/0.002407, allocations: 2.595 MB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.003364, allocations: 0.7244 MB / 329.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.003472, allocations: 8 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003591, allocations: 39.58 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.003717, allocations: 99.12 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.004042, allocations: 119.6 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.00432, allocations: 394.3 kB / 329.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.004515, allocations: 56.89 kB / 329.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.004912, allocations: 231.4 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.005091, allocations: 131.6 kB / 330.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.005142, allocations: 32 kB / 330.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.005224, allocations: 40 kB / 330.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.005287, allocations: 71.73 kB / 330.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.816e-05/0.005375, allocations: 111.7 kB / 330.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.005678, allocations: 390.8 kB / 330.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.00568, allocations: 0 / 330.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005681, allocations: 0 / 330.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.005686, allocations: 0 / 330.9 MB, free: 10.38 MB / 298.7 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.0009129/0.006599, allocations: 0.6193 MB / 331.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.006631, allocations: 8.031 kB / 331.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.006747, allocations: 40.73 kB / 331.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.007002, allocations: 216.8 kB / 331.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.00702, allocations: 16.81 kB / 331.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.007054, allocations: 24.33 kB / 331.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.007484, allocations: 340.9 kB / 332.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.007493, allocations: 192 / 332.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.007514, allocations: 8.375 kB / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.007522, allocations: 11.94 kB / 332.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.007992, allocations: 297.8 kB / 332.4 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.008984, allocations: 0.8168 MB / 333.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.01024, allocations: 0.4942 MB / 333.7 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.01059, allocations: 212.6 kB / 333.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.01061, allocations: 4 kB / 333.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.01096, allocations: 263.4 kB / 334.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.01097, allocations: 0 / 334.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007854/0.01175, allocations: 469.6 kB / 334.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.0118, allocations: 118.7 kB / 334.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.01195, allocations: 229.8 kB / 335 MB, free: 6.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.01197, allocations: 29.7 kB / 335 MB, free: 6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.01206, allocations: 168.4 kB / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.0121, allocations: 71.39 kB / 335.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.01217, allocations: 49.92 kB / 335.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.01225, allocations: 330.8 kB / 335.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.0125, allocations: 174.1 kB / 335.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.01276, allocations: 227.7 kB / 336 MB, free: 4.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.01322, allocations: 320.7 kB / 336.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01322, allocations: 0 / 336.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005717/0.01379, allocations: 448.5 kB / 336.8 MB, free: 4.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.01382, allocations: 33.77 kB / 336.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01383, allocations: 0 / 336.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01384, allocations: 4 kB / 336.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.01457, allocations: 267.6 kB / 337.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.01695, allocations: 3.186 MB / 340.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.01711, allocations: 51.78 kB / 340.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.01712, allocations: 8 kB / 340.3 MB, free: 424 kB / 298.7 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.0001052/0.01723, allocations: 141.8 kB / 340.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.01725, allocations: 23.86 kB / 340.5 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.01728, allocations: 30.11 kB / 340.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01729, allocations: 19.92 kB / 340.5 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01729, allocations: 0 / 340.5 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01729, allocations: 0 / 340.5 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.01822, allocations: 0.7983 MB / 341.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01822, allocations: 0 / 341.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/0.01893, allocations: 259.7 kB / 341.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01893, allocations: 4 kB / 341.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.01894, allocations: 7.984 kB / 341.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.02117, allocations: 3.179 MB / 344.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02117, allocations: 4.062 kB / 344.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.02195, allocations: 0.6153 MB / 345.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.02197, allocations: 27.83 kB / 345.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.02199, allocations: 8 kB / 345.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.02215, allocations: 39.94 kB / 345.5 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.02221, allocations: 27.95 kB / 345.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.02222, allocations: 11.94 kB / 345.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.02232, allocations: 169.2 kB / 345.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.02232, allocations: 4.062 kB / 345.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.0226, allocations: 79.89 kB / 345.7 MB, free: 10.71 MB / 314.7 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.0001074/0.0227, allocations: 111.2 kB / 345.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.02388, allocations: 0.5864 MB / 346.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.02388, allocations: 0 / 346.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.02472, allocations: 375.7 kB / 346.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.02498, allocations: 40.45 kB / 346.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.02591, allocations: 0.6575 MB / 347.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.291e-05/0.026, allocations: 142.2 kB / 347.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.02606, allocations: 24.5 kB / 347.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02606, allocations: 0 / 347.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of Templates: time 0.004625/0.03069, allocations: 5.582 MB / 353.3 MB, free: 3.129 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.597773478366435]