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.002042/0.002042, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.00267/0.00267, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.464/1.464, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.424e-05, allocations: 6.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004493/0.004517, allocations: 2.604 MB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.005948, allocations: 0.7167 MB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.006066, allocations: 4 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.006225, allocations: 39.58 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.006439, allocations: 95.14 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.006818, allocations: 115.7 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005009/0.007319, allocations: 398.3 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.00749, allocations: 60.89 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.007916, allocations: 227.5 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.008145, allocations: 131.6 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.008207, allocations: 32 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.008306, allocations: 39.94 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.008393, allocations: 75.73 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.008552, allocations: 111.7 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.009079, allocations: 394.8 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009083, allocations: 0 / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.009084, allocations: 0 / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.00909, allocations: 0 / 277.3 MB, free: 12.78 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.001748/0.01084, allocations: 0.6165 MB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01088, allocations: 8.031 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.01111, allocations: 56.73 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.01153, allocations: 216.8 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.01156, allocations: 12.88 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.01162, allocations: 24.33 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.01251, allocations: 344.9 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01252, allocations: 192 / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.01256, allocations: 8.375 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.01257, allocations: 11.94 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.0136, allocations: 297.8 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.01554, allocations: 0.8171 MB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.01876, allocations: 0.4942 MB / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/0.01944, allocations: 208.7 kB / 280.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.01947, allocations: 4 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.02018, allocations: 259.5 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.02018, allocations: 0 / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001912/0.02209, allocations: 480.8 kB / 281.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.02219, allocations: 118.7 kB / 281.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.02247, allocations: 233.8 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.02251, allocations: 29.7 kB / 281.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.02266, allocations: 164.4 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.02275, allocations: 75.39 kB / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.02287, allocations: 49.92 kB / 281.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.02307, allocations: 330.8 kB / 282.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.0236, allocations: 174.1 kB / 282.3 MB, free: 7.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.02417, allocations: 223.7 kB / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.02516, allocations: 326.7 kB / 282.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02516, allocations: 0 / 282.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001234/0.02639, allocations: 445.3 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.02645, allocations: 45.75 kB / 283.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.02645, allocations: 0 / 283.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.02648, allocations: 0 / 283.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.02848, allocations: 263.6 kB / 283.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.03403, allocations: 3.198 MB / 286.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.03442, allocations: 51.86 kB / 286.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.03446, allocations: 12 kB / 286.8 MB, free: 2.789 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.0001864/0.03464, allocations: 137.8 kB / 287 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.03471, allocations: 27.86 kB / 287 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.03478, allocations: 34.05 kB / 287 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.03479, allocations: 12 kB / 287 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.03479, allocations: 3.938 kB / 287 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.03479, allocations: 0 / 287 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.03672, allocations: 0.7992 MB / 287.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.03673, allocations: 64 / 287.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.03892, allocations: 263.5 kB / 288.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.03892, allocations: 4 kB / 288.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.03895, allocations: 7.984 kB / 288.1 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/0.04426, allocations: 3.187 MB / 291.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.04426, allocations: 0 / 291.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.04597, allocations: 0.6169 MB / 291.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.04602, allocations: 27.83 kB / 291.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.04607, allocations: 7.984 kB / 292 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.04644, allocations: 35.95 kB / 292 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.04654, allocations: 35.89 kB / 292 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.04657, allocations: 4 kB / 292 MB, free: 13.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.04677, allocations: 173.2 kB / 292.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04677, allocations: 4.062 kB / 292.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000523/0.04729, allocations: 83.89 kB / 292.3 MB, free: 13.06 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.0001782/0.04747, allocations: 99.25 kB / 292.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.05034, allocations: 0.602 MB / 293 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.05034, allocations: 0 / 293 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.05254, allocations: 375.8 kB / 293.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.05298, allocations: 43.56 kB / 293.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.05476, allocations: 0.6413 MB / 294 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.05492, allocations: 142.4 kB / 294.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.05505, allocations: 25.94 kB / 294.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.05513, allocations: 20.5 kB / 294.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05513, allocations: 0 / 294.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of Templates: time 0.00937/0.0645, allocations: 3.978 MB / 298.2 MB, free: 7.125 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=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.629708360997029]