Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.0007352/0.0007352, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000944/0.001679, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006933/0.0006933, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009017/0.001595, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9535/0.9535, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0869/1.04, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.987e-05, allocations: 6.312 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003718/0.003738, allocations: 4.199 MB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005394, allocations: 1.063 MB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.005587, allocations: 11.94 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.005747, allocations: 95.06 kB / 249.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.00613, allocations: 210 kB / 250.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.006463, allocations: 191.6 kB / 250.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.007037, allocations: 0.7591 MB / 251.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.007241, allocations: 152.3 kB / 251.2 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.007737, allocations: 0.4921 MB / 251.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.007982, allocations: 247.2 kB / 252 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.008041, allocations: 60 kB / 252 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.008146, allocations: 64 kB / 252.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.008242, allocations: 115.6 kB / 252.2 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.008387, allocations: 187.6 kB / 252.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.008769, allocations: 454.3 kB / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.008787, allocations: 0 / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008788, allocations: 0 / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.008811, allocations: 4 kB / 252.8 MB, free: 5.957 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009616/0.009773, allocations: 0.9707 MB / 253.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.009803, allocations: 8.031 kB / 253.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.01004, allocations: 189.9 kB / 254 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01032, allocations: 267.7 kB / 254.3 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.01035, allocations: 37.69 kB / 254.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.01039, allocations: 56.38 kB / 254.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.01076, allocations: 427.5 kB / 254.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.01077, allocations: 192 / 254.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.0108, allocations: 32.11 kB / 254.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.01081, allocations: 12 kB / 254.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.01102, allocations: 174.8 kB / 255 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01234, allocations: 1.454 MB / 256.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.0127, allocations: 393.6 kB / 256.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.01288, allocations: 211 kB / 257 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.01291, allocations: 16.44 kB / 257 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01294, allocations: 43.06 kB / 257.1 MB, free: 1.527 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.352e-06/0.01294, allocations: 0 / 257.1 MB, free: 1.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001671/0.01461, allocations: 1.125 MB / 258.2 MB, free: 360 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.01463, allocations: 63.84 kB / 258.3 MB, free: 284 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.0148, allocations: 303.3 kB / 258.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01482, allocations: 37.7 kB / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.0149, allocations: 201.9 kB / 258.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.01499, allocations: 214.1 kB / 259 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.01507, allocations: 98.25 kB / 259.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.01516, allocations: 362.7 kB / 259.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.01523, allocations: 53.28 kB / 259.5 MB, free: 15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.01532, allocations: 100.9 kB / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.01549, allocations: 204.8 kB / 259.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.0155, allocations: 0 / 259.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003636/0.01586, allocations: 376.4 kB / 260.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01587, allocations: 6.969 kB / 260.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01588, allocations: 0 / 260.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.01621, allocations: 195.1 kB / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.01642, allocations: 83.91 kB / 260.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.01942, allocations: 6.023 MB / 266.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01952, allocations: 19.98 kB / 266.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01953, allocations: 8.125 kB / 266.5 MB, free: 7.617 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.0001023/0.01963, allocations: 148.6 kB / 266.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.01968, allocations: 51.98 kB / 266.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.01973, allocations: 64.8 kB / 266.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01974, allocations: 4 kB / 266.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.01974, allocations: 4 kB / 266.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01975, allocations: 3.984 kB / 266.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.02048, allocations: 0.7222 MB / 267.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02049, allocations: 0 / 267.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.02065, allocations: 79.88 kB / 267.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.02073, allocations: 47.7 kB / 267.6 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.02101, allocations: 194 kB / 267.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.02103, allocations: 15.98 kB / 267.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/0.02397, allocations: 6.053 MB / 273.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02397, allocations: 0 / 273.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.02453, allocations: 0.5848 MB / 274.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.02456, allocations: 12.12 kB / 274.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.02467, allocations: 27.95 kB / 274.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.02477, allocations: 56.39 kB / 274.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.02479, allocations: 12 kB / 274.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.02487, allocations: 132.7 kB / 274.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02487, allocations: 0 / 274.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005047/0.02537, allocations: 172 kB / 274.9 MB, free: 14.81 MB / 282.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 9.896e-05/0.02547, allocations: 96.3 kB / 275 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.02612, allocations: 0.8226 MB / 275.8 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/0.02614, allocations: 12 kB / 275.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.0266, allocations: 0.7446 MB / 276.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.02686, allocations: 121.4 kB / 276.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.03038, allocations: 1.162 MB / 277.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.03052, allocations: 146.8 kB / 278 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.03062, allocations: 36.38 kB / 278 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.03078, allocations: 127.3 kB / 278.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03078, allocations: 3.938 kB / 278.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of Templates: time 0.01183/0.04262, allocations: 9.266 MB / 287.4 MB, free: 2.238 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.851585950702429]