Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 88.86 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 160.3 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.086 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.498e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.01679/0.01682, allocations: 3.933 MB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.02551, allocations: 1.627 MB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.02592, allocations: 11.94 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.02679, allocations: 254.7 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.02747, allocations: 313.9 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.02806, allocations: 275.2 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006826/0.03488, allocations: 0.7434 MB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.03511, allocations: 122.1 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.03567, allocations: 419 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.03599, allocations: 239.3 kB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.03606, allocations: 52 kB / 281.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.03629, allocations: 111.8 kB / 281.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.03642, allocations: 147.4 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.03661, allocations: 203.5 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.03933, allocations: 0.5176 MB / 282.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.03934, allocations: 4 kB / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03934, allocations: 0 / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.03936, allocations: 0 / 282.3 MB, free: 8.059 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001355/0.04071, allocations: 0.8638 MB / 283.2 MB, free: 7.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.04075, allocations: 11.98 kB / 283.2 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.04098, allocations: 84.86 kB / 283.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.04146, allocations: 308.3 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.0415, allocations: 33.38 kB / 283.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.04155, allocations: 44.36 kB / 283.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.04209, allocations: 430.8 kB / 284.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.0421, allocations: 192 / 284.1 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.04214, allocations: 16.38 kB / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.04215, allocations: 11.94 kB / 284.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.0424, allocations: 125.6 kB / 284.2 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.04414, allocations: 1.215 MB / 285.4 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.04457, allocations: 282 kB / 285.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.04472, allocations: 95.56 kB / 285.8 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.04475, allocations: 15.69 kB / 285.8 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.04507, allocations: 300 kB / 286.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.404e-06/0.04507, allocations: 0 / 286.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001138/0.04621, allocations: 481.1 kB / 286.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.0463, allocations: 162.2 kB / 286.7 MB, free: 3.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.0467, allocations: 396.9 kB / 287.1 MB, free: 2.938 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.04673, allocations: 33.7 kB / 287.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.04687, allocations: 209.6 kB / 287.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.04699, allocations: 134.9 kB / 287.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.04711, allocations: 78.12 kB / 287.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.04723, allocations: 362.6 kB / 287.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.04733, allocations: 47.81 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.04752, allocations: 257.5 kB / 288.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.04776, allocations: 166.9 kB / 288.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.04776, allocations: 0 / 288.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004249/0.04819, allocations: 272.3 kB / 288.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.0482, allocations: 4 kB / 288.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.04821, allocations: 0 / 288.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.04855, allocations: 119.3 kB / 288.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.04871, allocations: 52 kB / 288.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1144/0.1631, allocations: 5.517 MB / 294.3 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1634, allocations: 52.11 kB / 294.4 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1634, allocations: 10.59 kB / 294.4 MB, free: 19.48 MB / 266.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.000169/0.1636, allocations: 144.2 kB / 294.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.1637, allocations: 45.19 kB / 294.6 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.1641, allocations: 312.7 kB / 294.9 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1641, allocations: 4.375 kB / 294.9 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1641, allocations: 0.9062 kB / 294.9 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1641, allocations: 4.328 kB / 294.9 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.1644, allocations: 244.5 kB / 295.1 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1645, allocations: 0.75 kB / 295.1 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.1645, allocations: 36.58 kB / 295.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.1648, allocations: 117.7 kB / 295.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1648, allocations: 10.2 kB / 295.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.1665, allocations: 5.24 MB / 300.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1665, allocations: 3.938 kB / 300.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.1669, allocations: 326.9 kB / 300.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.1671, allocations: 61.09 kB / 300.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.1671, allocations: 7.656 kB / 300.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1672, allocations: 34 kB / 301 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1673, allocations: 53.91 kB / 301 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1674, allocations: 6.516 kB / 301 MB, free: 14.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.1676, allocations: 177.4 kB / 301.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1676, allocations: 0 / 301.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007375/0.1683, allocations: 171.7 kB / 301.4 MB, free: 14.25 MB / 266.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.001171/0.1695, allocations: 0.5221 MB / 301.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.1701, allocations: 0.664 MB / 302.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.1701, allocations: 4.594 kB / 302.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.1704, allocations: 0.6031 MB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1708, allocations: 120.1 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1722, allocations: 0.8931 MB / 304.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1723, allocations: 134.5 kB / 304.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1725, allocations: 48.5 kB / 304.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.1727, allocations: 156.2 kB / 304.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1727, allocations: 0 / 304.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01208/0.1848, allocations: 9.682 MB / 314.2 MB, free: 8.953 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.0366336149163544]