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.0009763/0.0009763, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009556/0.0009556, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.066/1.066, allocations: 177 MB / 205.2 MB, free: 5.578 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 1.533e-06/1.533e-06, allocations: 0 / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.556e-05, allocations: 6.312 kB / 273 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004448/0.004474, allocations: 4.196 MB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005885, allocations: 1.012 MB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.006088, allocations: 12 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.006287, allocations: 99 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.00666, allocations: 206.1 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.00697, allocations: 203.6 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.007504, allocations: 0.7708 MB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.007741, allocations: 151.6 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.008137, allocations: 439 kB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.008384, allocations: 251.2 kB / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.008449, allocations: 60 kB / 280.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.008545, allocations: 68 kB / 280.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.008665, allocations: 151.4 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.008834, allocations: 223.4 kB / 280.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.009285, allocations: 0.4981 MB / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.009287, allocations: 0 / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009288, allocations: 0 / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.009297, allocations: 0 / 281.3 MB, free: 9.355 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.0009843/0.01028, allocations: 0.9553 MB / 282.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.01032, allocations: 15.98 kB / 282.3 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.01058, allocations: 128.5 kB / 282.4 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.01095, allocations: 346.4 kB / 282.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.01098, allocations: 41.62 kB / 282.8 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.01104, allocations: 56.33 kB / 282.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.01155, allocations: 463.5 kB / 283.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01156, allocations: 4.125 kB / 283.3 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.01159, allocations: 24.12 kB / 283.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.0116, allocations: 12 kB / 283.3 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.01198, allocations: 261.7 kB / 283.6 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.01365, allocations: 2.031 MB / 285.6 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.01416, allocations: 467.5 kB / 286.1 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.01445, allocations: 261.8 kB / 286.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.01448, allocations: 8.5 kB / 286.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.0145, allocations: 41.89 kB / 286.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.114e-06/0.01451, allocations: 0 / 286.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.002254/0.01676, allocations: 1.4 MB / 287.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.01679, allocations: 55.91 kB / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.01704, allocations: 374.7 kB / 288.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01707, allocations: 37.7 kB / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01719, allocations: 288.1 kB / 288.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.01729, allocations: 210.2 kB / 288.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.01739, allocations: 99.95 kB / 288.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01752, allocations: 0.5235 MB / 289.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.01766, allocations: 81.27 kB / 289.4 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.01782, allocations: 142.5 kB / 289.6 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.01813, allocations: 243.8 kB / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01813, allocations: 0 / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.1107/0.1288, allocations: 0.5056 MB / 290.3 MB, free: 27.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1289, allocations: 5.344 kB / 290.3 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1289, allocations: 1.891 kB / 290.3 MB, free: 27.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.1294, allocations: 226.3 kB / 290.6 MB, free: 27.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1296, allocations: 58.7 kB / 290.6 MB, free: 27.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/0.1333, allocations: 8.86 MB / 299.5 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.1334, allocations: 16.09 kB / 299.5 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.1335, allocations: 15.83 kB / 299.5 MB, free: 20.05 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.0001304/0.1336, allocations: 183.5 kB / 299.7 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.1337, allocations: 74.06 kB / 299.8 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.1337, allocations: 67.83 kB / 299.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1337, allocations: 5.5 kB / 299.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1337, allocations: 2.156 kB / 299.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1337, allocations: 3.938 kB / 299.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1349, allocations: 1.034 MB / 300.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1349, allocations: 0 / 300.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1351, allocations: 55.38 kB / 300.9 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.1355, allocations: 221.4 kB / 301.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.1355, allocations: 12.77 kB / 301.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.1386, allocations: 8.867 MB / 310 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1386, allocations: 1.531 kB / 310 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.1395, allocations: 0.7855 MB / 310.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1396, allocations: 80.36 kB / 310.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.1397, allocations: 11 kB / 310.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1398, allocations: 14.66 kB / 310.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.1399, allocations: 60.27 kB / 311 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.1399, allocations: 16.48 kB / 311 MB, free: 10.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1401, allocations: 260.5 kB / 311.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1401, allocations: 3.938 kB / 311.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006625/0.1408, allocations: 171.7 kB / 311.4 MB, free: 10.16 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.0001351/0.1409, allocations: 105.3 kB / 311.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009435/0.1418, allocations: 1.108 MB / 312.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1418, allocations: 0 / 312.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.1424, allocations: 0.9929 MB / 313.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1428, allocations: 92.75 kB / 313.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1446, allocations: 1.143 MB / 314.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.1448, allocations: 149.6 kB / 315 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.1449, allocations: 49.36 kB / 315 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.145, allocations: 29.95 kB / 315.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/0.145, allocations: 0 / 315.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of Templates: time 0.0116/0.1565, allocations: 8.548 MB / 323.6 MB, free: 2.285 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.3734620520845056]