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.002695/0.002695, allocations: 91.66 kB / 21.73 MB, free: 2.676 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.003103/0.003103, allocations: 163.5 kB / 25.03 MB, free: 8.949 MB / 18.57 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 1.405/1.405, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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 1.533e-06/1.533e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.935e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006445/0.006474, allocations: 3.854 MB / 254.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.009681, allocations: 1.333 MB / 255.6 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.01007, allocations: 7.938 kB / 255.6 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009802/0.01105, allocations: 258.7 kB / 255.8 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008388/0.01189, allocations: 274.2 kB / 256.1 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.01262, allocations: 259.3 kB / 256.3 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01366, allocations: 0.7432 MB / 257.1 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.01396, allocations: 113.5 kB / 257.2 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.0146, allocations: 399.1 kB / 257.6 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.015, allocations: 239.3 kB / 257.8 MB, free: 328 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.0151, allocations: 52 kB / 257.9 MB, free: 276 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.01538, allocations: 99.89 kB / 258 MB, free: 176 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.0156, allocations: 147.5 kB / 258.1 MB, free: 28 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.01592, allocations: 207.5 kB / 258.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01697, allocations: 0.7242 MB / 259 MB, free: 15.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.01697, allocations: 4 kB / 259 MB, free: 15.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01697, allocations: 0 / 259 MB, free: 15.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.01698, allocations: 0 / 259 MB, free: 15.09 MB / 250.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.001835/0.01882, allocations: 1.008 MB / 260.1 MB, free: 14.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.01886, allocations: 15.98 kB / 260.1 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.01906, allocations: 104.5 kB / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.01971, allocations: 346.4 kB / 260.5 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.01976, allocations: 33.38 kB / 260.5 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.01983, allocations: 48.36 kB / 260.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.02079, allocations: 0.5373 MB / 261.1 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.02081, allocations: 3.938 kB / 261.1 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.02087, allocations: 27.98 kB / 261.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.02088, allocations: 8 kB / 261.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.02154, allocations: 291.8 kB / 261.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.0246, allocations: 1.844 MB / 263.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.02533, allocations: 343.4 kB / 263.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.02568, allocations: 167.4 kB / 263.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.02573, allocations: 7.75 kB / 263.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006605/0.02639, allocations: 389 kB / 264.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.02639, allocations: 0 / 264.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002221/0.02861, allocations: 0.723 MB / 264.9 MB, free: 8.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.02874, allocations: 158.2 kB / 265.1 MB, free: 8.738 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.02947, allocations: 0.5378 MB / 265.6 MB, free: 8.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.02951, allocations: 37.69 kB / 265.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.02982, allocations: 327.4 kB / 266 MB, free: 7.812 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.02997, allocations: 134.9 kB / 266.1 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.03013, allocations: 95.84 kB / 266.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000359/0.03049, allocations: 0.5508 MB / 266.7 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.03075, allocations: 113 kB / 266.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.0312, allocations: 362.9 kB / 267.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.03171, allocations: 276.7 kB / 267.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.03172, allocations: 3.984 kB / 267.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009522/0.03267, allocations: 484.6 kB / 267.9 MB, free: 5.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.03269, allocations: 4 kB / 267.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.0327, allocations: 4 kB / 267.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.03328, allocations: 174.6 kB / 268.1 MB, free: 5.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.0335, allocations: 47.91 kB / 268.2 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/0.04129, allocations: 8.576 MB / 276.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.04171, allocations: 39.83 kB / 276.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.04174, allocations: 12 kB / 276.8 MB, free: 12.34 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.0004597/0.0422, allocations: 234.5 kB / 277 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.04232, allocations: 63.67 kB / 277.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.0434, allocations: 0.4924 MB / 277.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.0434, allocations: 4 kB / 277.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.04341, allocations: 3.938 kB / 277.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.04342, allocations: 3.984 kB / 277.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.04402, allocations: 436.1 kB / 278 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.04403, allocations: 0 / 278 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.04417, allocations: 27.98 kB / 278 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.04463, allocations: 170.6 kB / 278.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.04466, allocations: 8 kB / 278.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007141/0.0518, allocations: 8.122 MB / 286.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.0518, allocations: 0 / 286.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.05297, allocations: 0.5338 MB / 286.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.05318, allocations: 75.66 kB / 286.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.05325, allocations: 11.98 kB / 287 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.05351, allocations: 27.97 kB / 287 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.05368, allocations: 59.69 kB / 287 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.05371, allocations: 12 kB / 287.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004647/0.05418, allocations: 359 kB / 287.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05418, allocations: 0 / 287.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008221/0.055, allocations: 175.7 kB / 287.6 MB, free: 0.9453 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.00293/0.05793, allocations: 461 kB / 288 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.05948, allocations: 1.038 MB / 289.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.05948, allocations: 0 / 289.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009803/0.06046, allocations: 0.8816 MB / 289.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.06108, allocations: 117.5 kB / 290.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.06314, allocations: 0.9236 MB / 291 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.06366, allocations: 258.9 kB / 291.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.06385, allocations: 43.28 kB / 291.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.06395, allocations: 36.5 kB / 291.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.06395, allocations: 0 / 291.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of Templates: time 0.0198/0.08375, allocations: 9.14 MB / 300.5 MB, free: 3.902 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.9566233969526365]