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.0008754/0.0008754, allocations: 88.73 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.001103/0.001103, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.051 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 2.013e-06/2.013e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.943e-05, allocations: 2.312 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004444/0.004474, allocations: 3.972 MB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.007118, allocations: 1.623 MB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.00742, allocations: 15.88 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.008106, allocations: 250.7 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.008659, allocations: 309.9 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.009161, allocations: 271.2 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.00974, allocations: 0.7511 MB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.009939, allocations: 122.1 kB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.01034, allocations: 419 kB / 281.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.01061, allocations: 235.3 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.01066, allocations: 52 kB / 281.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.01085, allocations: 107.9 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.01097, allocations: 155.4 kB / 281.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.01111, allocations: 195.5 kB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.01166, allocations: 0.5176 MB / 282.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01166, allocations: 0 / 282.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01166, allocations: 4 kB / 282.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.01167, allocations: 0 / 282.4 MB, free: 8.008 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.0009026/0.01257, allocations: 0.8677 MB / 283.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.0126, allocations: 11.98 kB / 283.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.01275, allocations: 84.86 kB / 283.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.01309, allocations: 308.4 kB / 283.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.01312, allocations: 33.36 kB / 283.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.01316, allocations: 48.38 kB / 283.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.01353, allocations: 430.8 kB / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.01355, allocations: 192 / 284.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.01357, allocations: 20.36 kB / 284.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.01358, allocations: 11.94 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.01376, allocations: 117.7 kB / 284.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.0151, allocations: 1.223 MB / 285.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.01546, allocations: 278 kB / 285.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.01559, allocations: 92.75 kB / 285.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.01562, allocations: 11.75 kB / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.01591, allocations: 304 kB / 286.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.01591, allocations: 0 / 286.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009202/0.01683, allocations: 485.1 kB / 286.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.0169, allocations: 158.2 kB / 286.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.01721, allocations: 400.9 kB / 287.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.01724, allocations: 37.7 kB / 287.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01736, allocations: 205.6 kB / 287.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.01744, allocations: 134.9 kB / 287.6 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.01754, allocations: 86.09 kB / 287.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01766, allocations: 358.7 kB / 288 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.01773, allocations: 43.8 kB / 288.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.01789, allocations: 257.5 kB / 288.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.01806, allocations: 159 kB / 288.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01807, allocations: 0 / 288.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003235/0.01839, allocations: 279.2 kB / 288.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01841, allocations: 4 kB / 288.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01842, allocations: 4 kB / 288.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.01869, allocations: 115.3 kB / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01883, allocations: 55.91 kB / 288.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1207/0.1396, allocations: 5.52 MB / 294.4 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1398, allocations: 48.86 kB / 294.5 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1398, allocations: 8.969 kB / 294.5 MB, free: 20.15 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.0001513/0.14, allocations: 145.8 kB / 294.6 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.14, allocations: 42.33 kB / 294.7 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.1405, allocations: 313.3 kB / 295 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1405, allocations: 4.25 kB / 295 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.1405, allocations: 1.375 kB / 295 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1405, allocations: 4.812 kB / 295 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.1408, allocations: 251.4 kB / 295.2 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1408, allocations: 0 / 295.2 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1409, allocations: 36.16 kB / 295.3 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/0.1411, allocations: 119.1 kB / 295.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1412, allocations: 12.7 kB / 295.4 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.143, allocations: 5.235 MB / 300.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.143, allocations: 5.094 kB / 300.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.1434, allocations: 326.8 kB / 301 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1435, allocations: 63.25 kB / 301 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1435, allocations: 7.266 kB / 301 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1437, allocations: 34.16 kB / 301.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.1438, allocations: 50 kB / 301.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1438, allocations: 10.41 kB / 301.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.144, allocations: 178.3 kB / 301.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.144, allocations: 0 / 301.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006317/0.1446, allocations: 174.4 kB / 301.5 MB, free: 14.91 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.001141/0.1457, allocations: 0.5223 MB / 302 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.1464, allocations: 0.6695 MB / 302.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.1464, allocations: 4.469 kB / 302.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.1467, allocations: 0.5977 MB / 303.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.147, allocations: 123.2 kB / 303.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1484, allocations: 0.8945 MB / 304.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1485, allocations: 132.9 kB / 304.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1486, allocations: 47.09 kB / 304.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.1489, allocations: 151.5 kB / 304.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1489, allocations: 4 kB / 304.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Templates: time 0.01203/0.1609, allocations: 9.696 MB / 314.3 MB, free: 9.562 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 -s gbode -gbm=radauIIA3 -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.018835974857211]