Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.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.0009675/0.0009675, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001158/0.001158, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.01/1.01, allocations: 177 MB / 205.1 MB, free: 5.473 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.574e-05, allocations: 2.312 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003833/0.003859, allocations: 4.143 MB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.005566, allocations: 1.009 MB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.005817, allocations: 15.94 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.006019, allocations: 95.06 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.006437, allocations: 214 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.006822, allocations: 191.6 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.007468, allocations: 0.7708 MB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.007711, allocations: 159.6 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.008239, allocations: 439 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.008509, allocations: 247.2 kB / 280.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.008573, allocations: 60 kB / 280.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.008681, allocations: 64 kB / 280.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.008792, allocations: 151.4 kB / 280.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.008944, allocations: 235.4 kB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.009364, allocations: 0.4903 MB / 281.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.009368, allocations: 0 / 281.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009369, allocations: 4 kB / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.009377, allocations: 0 / 281.6 MB, free: 8.91 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009728/0.01035, allocations: 0.9591 MB / 282.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01039, allocations: 19.98 kB / 282.6 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.01063, allocations: 132.5 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.01097, allocations: 334.5 kB / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.011, allocations: 37.69 kB / 283.1 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.01106, allocations: 56.33 kB / 283.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.01148, allocations: 439.3 kB / 283.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01149, allocations: 192 / 283.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.01153, allocations: 28.12 kB / 283.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.01154, allocations: 12 kB / 283.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.0118, allocations: 206.7 kB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.01347, allocations: 1.984 MB / 285.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.01389, allocations: 415.7 kB / 286.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.01411, allocations: 237.7 kB / 286.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.01414, allocations: 12.5 kB / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.01416, allocations: 37.89 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.01417, allocations: 4 kB / 286.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001885/0.01605, allocations: 1.221 MB / 287.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.01608, allocations: 63.84 kB / 287.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.01628, allocations: 362.6 kB / 288.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.0163, allocations: 37.7 kB / 288.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.01642, allocations: 288 kB / 288.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.01654, allocations: 214.1 kB / 288.6 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.01663, allocations: 111.8 kB / 288.7 MB, free: 1.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01676, allocations: 0.5273 MB / 289.3 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.01685, allocations: 61.25 kB / 289.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01695, allocations: 118.5 kB / 289.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.01717, allocations: 207.7 kB / 289.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01717, allocations: 0 / 289.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004775/0.01765, allocations: 475.4 kB / 290.1 MB, free: 28 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01766, allocations: 7.125 kB / 290.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01767, allocations: 4 kB / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1085/0.1262, allocations: 214.2 kB / 290.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1264, allocations: 58.27 kB / 290.4 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.1296, allocations: 8.694 MB / 299.1 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1298, allocations: 17.33 kB / 299.1 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1298, allocations: 16.03 kB / 299.1 MB, free: 17.51 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.1299, allocations: 182.1 kB / 299.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.13, allocations: 73.66 kB / 299.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.13, allocations: 66.77 kB / 299.4 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.13, allocations: 6.344 kB / 299.4 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.13, allocations: 2.75 kB / 299.4 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.13, allocations: 5.156 kB / 299.4 MB, free: 17.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.131, allocations: 0.9206 MB / 300.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.131, allocations: 4.156 kB / 300.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1312, allocations: 53.38 kB / 300.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.1315, allocations: 223.3 kB / 300.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1315, allocations: 14.22 kB / 300.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.1343, allocations: 8.702 MB / 309.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1343, allocations: 1.562 kB / 309.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.135, allocations: 0.7182 MB / 310.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1351, allocations: 83.31 kB / 310.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1351, allocations: 13.69 kB / 310.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1352, allocations: 14 kB / 310.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1353, allocations: 58.27 kB / 310.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1354, allocations: 11.36 kB / 310.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1355, allocations: 246.3 kB / 310.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1355, allocations: 0.5469 kB / 310.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006018/0.1361, allocations: 176.1 kB / 310.7 MB, free: 8.688 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001071/0.1362, allocations: 112 kB / 310.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007703/0.137, allocations: 1.064 MB / 311.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.137, allocations: 1.094 kB / 311.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.1375, allocations: 0.9779 MB / 312.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1379, allocations: 87.2 kB / 312.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1395, allocations: 1.131 MB / 314 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.1397, allocations: 150.2 kB / 314.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1398, allocations: 38.84 kB / 314.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1399, allocations: 150.3 kB / 314.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1399, allocations: 0 / 314.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of Templates: time 0.01148/0.1514, allocations: 9.038 MB / 323.4 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.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.297757178079337]