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.001376/0.001376, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001614/0.001614, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9798/0.9798, allocations: 177.1 MB / 205 MB, free: 5.641 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 2.064e-06/2.064e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.375e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005019/0.005053, allocations: 2.762 MB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.006722, allocations: 0.7399 MB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.006903, allocations: 4 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.00708, allocations: 47.56 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.007315, allocations: 95.14 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.007796, allocations: 115.7 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.008332, allocations: 398.3 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.008517, allocations: 60.88 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.009014, allocations: 223.5 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.009257, allocations: 135.6 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.009327, allocations: 39.94 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.009422, allocations: 36 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.009489, allocations: 75.67 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.009635, allocations: 107.8 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.01006, allocations: 247.2 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01007, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01007, allocations: 3.938 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.01008, allocations: 0 / 278 MB, free: 12.46 MB / 266.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.001302/0.01138, allocations: 0.6813 MB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.01143, allocations: 12.03 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.01167, allocations: 52.73 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.01202, allocations: 219.6 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.01205, allocations: 16.88 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.0121, allocations: 24.38 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.0127, allocations: 271.3 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01271, allocations: 192 / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.01274, allocations: 12.38 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.01275, allocations: 7.938 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.013, allocations: 102.9 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.01435, allocations: 0.8424 MB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.0154, allocations: 246.9 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.01567, allocations: 111.6 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.0157, allocations: 4 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.01599, allocations: 193.6 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.01599, allocations: 0 / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004923/0.01648, allocations: 217 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.01654, allocations: 106.8 kB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.01676, allocations: 272.3 kB / 281.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.01679, allocations: 33.7 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01691, allocations: 211.1 kB / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.01697, allocations: 75.38 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.01704, allocations: 55.58 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01716, allocations: 0.508 MB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.01726, allocations: 66.14 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.01739, allocations: 143.1 kB / 282.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01758, allocations: 151.3 kB / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01758, allocations: 0 / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002992/0.01788, allocations: 261.5 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.01791, allocations: 33.7 kB / 282.9 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01792, allocations: 3.984 kB / 282.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.01794, allocations: 4 kB / 282.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.01852, allocations: 167.8 kB / 283.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.02077, allocations: 3.965 MB / 287 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.02092, allocations: 39.81 kB / 287.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.02093, allocations: 7.984 kB / 287.1 MB, free: 2.82 MB / 266.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.0001083/0.02104, allocations: 179.7 kB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.02108, allocations: 31.86 kB / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.02111, allocations: 26.11 kB / 287.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02111, allocations: 7.938 kB / 287.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02112, allocations: 0 / 287.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02112, allocations: 0 / 287.3 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.02181, allocations: 0.7065 MB / 288 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.02182, allocations: 7.922 kB / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.02235, allocations: 159.7 kB / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.02235, allocations: 8.062 kB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.02237, allocations: 0 / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.02433, allocations: 3.95 MB / 292.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.02434, allocations: 0 / 292.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.02474, allocations: 394.9 kB / 292.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.02477, allocations: 24.05 kB / 292.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.02479, allocations: 8 kB / 292.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.02493, allocations: 23.97 kB / 292.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.025, allocations: 27.95 kB / 292.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.02502, allocations: 11.98 kB / 292.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.02512, allocations: 197.1 kB / 292.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02512, allocations: 0 / 292.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000313/0.02543, allocations: 75.89 kB / 292.9 MB, free: 12.68 MB / 282.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.0001085/0.02554, allocations: 111.2 kB / 293 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.02627, allocations: 336.6 kB / 293.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02627, allocations: 128 / 293.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.02681, allocations: 194.5 kB / 293.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.02707, allocations: 44.55 kB / 293.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.02816, allocations: 0.5754 MB / 294.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.02821, allocations: 88.25 kB / 294.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.02829, allocations: 21.95 kB / 294.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.02835, allocations: 28.48 kB / 294.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02835, allocations: 0 / 294.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of Templates: time 0.005697/0.03404, allocations: 4.055 MB / 298.3 MB, free: 7.203 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7981130462139845]