Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001102/0.001102, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00114/0.00114, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 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.9351/0.9351, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.269e-05, allocations: 2.312 kB / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004039/0.004062, allocations: 3.929 MB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.006798, allocations: 1.62 MB / 279 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.007109, allocations: 15.88 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.007863, allocations: 254.7 kB / 279.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007071/0.00857, allocations: 314 kB / 279.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.009119, allocations: 275.1 kB / 279.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.009741, allocations: 0.7394 MB / 280.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.009929, allocations: 122.1 kB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.01035, allocations: 411.1 kB / 281.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.01061, allocations: 247.3 kB / 281.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.01066, allocations: 52 kB / 281.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.01082, allocations: 103.9 kB / 281.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.01093, allocations: 151.4 kB / 281.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01107, allocations: 199.5 kB / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.01154, allocations: 0.5176 MB / 282.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.01155, allocations: 0 / 282.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01155, allocations: 0 / 282.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.01155, allocations: 0 / 282.4 MB, free: 8.348 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.0008763/0.01243, allocations: 0.8599 MB / 283.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.01246, allocations: 12.03 kB / 283.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.01262, allocations: 84.86 kB / 283.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.01294, allocations: 316.3 kB / 283.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.01297, allocations: 33.38 kB / 283.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.01301, allocations: 40.38 kB / 283.7 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.01336, allocations: 430.8 kB / 284.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01337, allocations: 3.938 kB / 284.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.01339, allocations: 16 kB / 284.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.01341, allocations: 16 kB / 284.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.01357, allocations: 117.7 kB / 284.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01476, allocations: 1.215 MB / 285.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.01506, allocations: 289.1 kB / 285.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.01516, allocations: 92.77 kB / 285.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.01519, allocations: 7.75 kB / 285.9 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.01542, allocations: 308 kB / 286.2 MB, free: 4.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.01542, allocations: 0 / 286.2 MB, free: 4.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007719/0.01619, allocations: 481.1 kB / 286.6 MB, free: 3.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.01625, allocations: 162.2 kB / 286.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.0165, allocations: 392.9 kB / 287.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01653, allocations: 33.7 kB / 287.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.01662, allocations: 217.6 kB / 287.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.01669, allocations: 126.9 kB / 287.5 MB, free: 2.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.01677, allocations: 86.09 kB / 287.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.01686, allocations: 358.7 kB / 288 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.01692, allocations: 47.8 kB / 288 MB, free: 2.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.01705, allocations: 253.5 kB / 288.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.01721, allocations: 158.8 kB / 288.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01721, allocations: 0 / 288.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002795/0.01749, allocations: 268.4 kB / 288.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.0175, allocations: 12 kB / 288.7 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01751, allocations: 3.984 kB / 288.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.01774, allocations: 115.3 kB / 288.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01785, allocations: 51.84 kB / 288.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1111/0.1289, allocations: 5.522 MB / 294.4 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.1292, allocations: 50.62 kB / 294.4 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1292, allocations: 7.828 kB / 294.5 MB, free: 20.4 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.000175/0.1294, allocations: 148.6 kB / 294.6 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.1295, allocations: 45.56 kB / 294.6 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.1299, allocations: 313.4 kB / 294.9 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1299, allocations: 3.344 kB / 295 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1299, allocations: 2.297 kB / 295 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1299, allocations: 6.453 kB / 295 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1302, allocations: 251.9 kB / 295.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1302, allocations: 0.9062 kB / 295.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.1303, allocations: 28.55 kB / 295.2 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.1305, allocations: 122.9 kB / 295.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1306, allocations: 6.625 kB / 295.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.1325, allocations: 5.234 MB / 300.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1325, allocations: 0 / 300.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.1329, allocations: 336.1 kB / 300.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.133, allocations: 53.52 kB / 301 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.1331, allocations: 12.31 kB / 301 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1332, allocations: 26.77 kB / 301 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1333, allocations: 57.89 kB / 301.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1333, allocations: 14.97 kB / 301.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1335, allocations: 178.4 kB / 301.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1335, allocations: 0 / 301.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.1341, allocations: 174.6 kB / 301.4 MB, free: 15.16 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.001109/0.1352, allocations: 0.5213 MB / 302 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1357, allocations: 0.675 MB / 302.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.1357, allocations: 4.469 kB / 302.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.136, allocations: 0.5971 MB / 303.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1363, allocations: 115.4 kB / 303.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1376, allocations: 0.8976 MB / 304.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1377, allocations: 135.5 kB / 304.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1378, allocations: 47.78 kB / 304.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.138, allocations: 142.1 kB / 304.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.138, allocations: 1.344 kB / 304.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of Templates: time 0.01265/0.1507, allocations: 9.709 MB / 314.3 MB, free: 9.844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.052358112297952]