Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.0009475/0.0009475, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004727/0.005675, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009245/0.0009245, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002603/0.003528, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8651/0.8651, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1463/1.011, allocations: 49.49 MB / 220.6 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.04e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00369/0.00371, allocations: 3.913 MB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.005842, allocations: 1.383 MB / 227.1 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.006096, allocations: 11.94 kB / 227.1 MB, free: 10.83 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.006657, allocations: 250.7 kB / 227.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.007076, allocations: 274.1 kB / 227.7 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.007602, allocations: 267.3 kB / 227.9 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.008286, allocations: 0.7277 MB / 228.6 MB, free: 9.32 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.008493, allocations: 118.2 kB / 228.8 MB, free: 9.203 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.008982, allocations: 492 kB / 229.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.009225, allocations: 239.3 kB / 229.5 MB, free: 8.488 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.009282, allocations: 52 kB / 229.5 MB, free: 8.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.009462, allocations: 99.89 kB / 229.6 MB, free: 8.34 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.009591, allocations: 115.6 kB / 229.7 MB, free: 8.227 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.009751, allocations: 167.6 kB / 229.9 MB, free: 8.062 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.01025, allocations: 466.3 kB / 230.4 MB, free: 7.605 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.01026, allocations: 4 kB / 230.4 MB, free: 7.602 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01026, allocations: 0 / 230.4 MB, free: 7.602 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.01028, allocations: 0 / 230.4 MB, free: 7.602 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001149/0.01143, allocations: 0.9574 MB / 231.3 MB, free: 6.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.01147, allocations: 16.03 kB / 231.3 MB, free: 6.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.01156, allocations: 72.88 kB / 231.4 MB, free: 6.527 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.01191, allocations: 308.3 kB / 231.7 MB, free: 6.195 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.01194, allocations: 33.36 kB / 231.7 MB, free: 6.164 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.01198, allocations: 40.38 kB / 231.8 MB, free: 6.125 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.01236, allocations: 430.8 kB / 232.2 MB, free: 5.656 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01237, allocations: 7.875 kB / 232.2 MB, free: 5.648 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.0124, allocations: 20 kB / 232.2 MB, free: 5.629 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.01241, allocations: 19.94 kB / 232.2 MB, free: 5.609 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.01257, allocations: 121.7 kB / 232.4 MB, free: 5.488 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.01386, allocations: 1.215 MB / 233.6 MB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.01419, allocations: 301.2 kB / 233.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.0143, allocations: 86.8 kB / 234 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.01433, allocations: 11.75 kB / 234 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.01459, allocations: 300.1 kB / 234.3 MB, free: 3.461 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 1.292e-06/0.01459, allocations: 0 / 234.3 MB, free: 3.461 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007898/0.01538, allocations: 484.1 kB / 234.7 MB, free: 2.969 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01541, allocations: 55.41 kB / 234.8 MB, free: 2.902 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.01567, allocations: 388.9 kB / 235.2 MB, free: 2.508 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.01569, allocations: 37.64 kB / 235.2 MB, free: 2.465 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.0158, allocations: 213.6 kB / 235.4 MB, free: 2.25 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.01587, allocations: 130.9 kB / 235.5 MB, free: 2.121 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.01596, allocations: 82.09 kB / 235.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.01606, allocations: 362.7 kB / 236 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.01612, allocations: 39.81 kB / 236 MB, free: 1.633 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01626, allocations: 257.5 kB / 236.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.01642, allocations: 162.8 kB / 236.4 MB, free: 1.148 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01642, allocations: 0 / 236.4 MB, free: 1.148 MB / 234.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002833/0.0167, allocations: 275.2 kB / 236.7 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01672, allocations: 4 kB / 236.7 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01673, allocations: 4 kB / 236.7 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.01697, allocations: 111.3 kB / 236.8 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.0171, allocations: 55.91 kB / 236.9 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.01973, allocations: 5.528 MB / 242.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.01988, allocations: 55.73 kB / 242.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.0199, allocations: 8 kB / 242.5 MB, free: 10.74 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.02002, allocations: 146.7 kB / 242.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.02007, allocations: 47.95 kB / 242.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.02044, allocations: 316.8 kB / 243 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.02044, allocations: 7.938 kB / 243 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.02044, allocations: 0 / 243 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02045, allocations: 0 / 243 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.02069, allocations: 241.5 kB / 243.2 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.02069, allocations: 4 kB / 243.2 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.02077, allocations: 31.97 kB / 243.2 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.02086, allocations: 67.52 kB / 243.3 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.02107, allocations: 119.3 kB / 243.4 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.02108, allocations: 11.94 kB / 243.4 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.02348, allocations: 5.225 MB / 248.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.02348, allocations: 0 / 248.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.02383, allocations: 325.6 kB / 249 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.02387, allocations: 12 kB / 249 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.02397, allocations: 31.97 kB / 249 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.02409, allocations: 51.91 kB / 249.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.02411, allocations: 11.98 kB / 249.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.02425, allocations: 167.5 kB / 249.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02425, allocations: 0 / 249.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.02474, allocations: 175.7 kB / 249.4 MB, free: 3.352 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/0.02604, allocations: 0.5721 MB / 250 MB, free: 2.809 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005527/0.02659, allocations: 0.6665 MB / 250.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/0.02661, allocations: 16.05 kB / 250.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.02698, allocations: 0.6004 MB / 251.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.02728, allocations: 157.4 kB / 251.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.03075, allocations: 0.9234 MB / 252.3 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.03085, allocations: 134.4 kB / 252.5 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.03098, allocations: 39.3 kB / 252.5 MB, free: 116 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.03121, allocations: 145.3 kB / 252.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03121, allocations: 0 / 252.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Templates: time 0.01213/0.04334, allocations: 10.03 MB / 262.7 MB, free: 5.918 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.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.8583798054605722]