Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001408/0.001408, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001653/0.001653, allocations: 169.6 kB / 25.33 MB, free: 9.027 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 0.9139/0.9139, allocations: 158.6 MB / 187.2 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.311e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.01138/0.01141, allocations: 4.123 MB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.01656, allocations: 0.951 MB / 256.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.01696, allocations: 11.94 kB / 256.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.01726, allocations: 95.06 kB / 256.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.01785, allocations: 210.1 kB / 256.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.01823, allocations: 163.7 kB / 256.6 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.02207, allocations: 0.7706 MB / 257.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.02239, allocations: 147.6 kB / 257.5 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.02302, allocations: 419.1 kB / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.02342, allocations: 247.2 kB / 258.2 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.02352, allocations: 60 kB / 258.2 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.02361, allocations: 64 kB / 258.3 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.02376, allocations: 155.3 kB / 258.5 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.0243, allocations: 223.4 kB / 258.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.02477, allocations: 494.1 kB / 259.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.02478, allocations: 8 kB / 259.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.02478, allocations: 0 / 259.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.02479, allocations: 0 / 259.2 MB, free: 11.44 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.00107/0.02586, allocations: 0.9398 MB / 260.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.0259, allocations: 15.92 kB / 260.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.02604, allocations: 120.5 kB / 260.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.02642, allocations: 318.5 kB / 260.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.02645, allocations: 37.69 kB / 260.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.02651, allocations: 60.33 kB / 260.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.02708, allocations: 475.4 kB / 261.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.02709, allocations: 192 / 261.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.02713, allocations: 24.12 kB / 261.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.02714, allocations: 12 kB / 261.1 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.02754, allocations: 253.7 kB / 261.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.02943, allocations: 2.031 MB / 263.4 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.02998, allocations: 467.9 kB / 263.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.03028, allocations: 265.7 kB / 264.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.03032, allocations: 8.5 kB / 264.1 MB, free: 6.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.03035, allocations: 45.88 kB / 264.2 MB, free: 6.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.573e-06/0.03035, allocations: 0 / 264.2 MB, free: 6.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002357/0.03271, allocations: 1.392 MB / 265.6 MB, free: 4.758 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.03275, allocations: 55.91 kB / 265.6 MB, free: 4.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.03336, allocations: 362.8 kB / 266 MB, free: 4.316 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.03338, allocations: 37.7 kB / 266 MB, free: 4.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.03352, allocations: 284.1 kB / 266.3 MB, free: 3.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.03363, allocations: 222 kB / 266.5 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.03375, allocations: 99.95 kB / 266.6 MB, free: 3.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.0339, allocations: 0.5157 MB / 267.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.03404, allocations: 93.25 kB / 267.2 MB, free: 3.047 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.0342, allocations: 138.5 kB / 267.4 MB, free: 2.902 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.03449, allocations: 243.8 kB / 267.6 MB, free: 2.652 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.03449, allocations: 0 / 267.6 MB, free: 2.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000611/0.0351, allocations: 0.5073 MB / 268.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.03512, allocations: 8.031 kB / 268.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.03513, allocations: 0 / 268.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.03558, allocations: 222.4 kB / 268.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.03577, allocations: 63.89 kB / 268.4 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/0.04446, allocations: 8.856 MB / 277.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.04468, allocations: 16.11 kB / 277.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.04471, allocations: 20 kB / 277.3 MB, free: 8.445 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.0001792/0.04489, allocations: 184.5 kB / 277.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.04498, allocations: 67.66 kB / 277.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.04505, allocations: 64.75 kB / 277.6 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.04505, allocations: 12.02 kB / 277.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.04506, allocations: 4 kB / 277.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.04507, allocations: 0 / 277.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.04959, allocations: 1.021 MB / 278.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.0496, allocations: 0 / 278.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.04981, allocations: 63.89 kB / 278.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.05033, allocations: 230.8 kB / 278.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.05036, allocations: 15.94 kB / 278.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.06228, allocations: 8.856 MB / 287.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.06228, allocations: 0 / 287.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.0634, allocations: 0.7862 MB / 288.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003186/0.06659, allocations: 83.61 kB / 288.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.06664, allocations: 20.06 kB / 288.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.0668, allocations: 12 kB / 288.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.06693, allocations: 56.39 kB / 288.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.06696, allocations: 19.98 kB / 288.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.06716, allocations: 259.1 kB / 289 MB, free: 12.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06716, allocations: 0 / 289 MB, free: 12.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008466/0.068, allocations: 168 kB / 289.2 MB, free: 11.95 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 0.0001429/0.06815, allocations: 111.2 kB / 289.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.06931, allocations: 1.107 MB / 290.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.06931, allocations: 0 / 290.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003855/0.07316, allocations: 0.9981 MB / 291.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.07361, allocations: 85.67 kB / 291.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.07871, allocations: 1.129 MB / 292.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.07885, allocations: 146.8 kB / 292.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.07898, allocations: 48.36 kB / 292.8 MB, free: 8.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.07905, allocations: 32.42 kB / 292.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.07905, allocations: 0 / 292.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of Templates: time 0.1262/0.2053, allocations: 8.543 MB / 301.4 MB, free: 54.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.478560251183808]