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.002495/0.002495, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00291/0.00291, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 18.57 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 1.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.733e-06/1.733e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.269e-05, allocations: 6.25 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.01063/0.01066, allocations: 4.165 MB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.01389, allocations: 1.005 MB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.01422, allocations: 11.94 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.01454, allocations: 99 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007047/0.01525, allocations: 206.2 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.01582, allocations: 191.6 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.01717, allocations: 0.763 MB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.01766, allocations: 159.5 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009772/0.01864, allocations: 431 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.01926, allocations: 251.2 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.01942, allocations: 60 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.01966, allocations: 64 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.01993, allocations: 151.4 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.0204, allocations: 231.4 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.02193, allocations: 0.7437 MB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.02193, allocations: 3.938 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02193, allocations: 0 / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.02195, allocations: 3.938 kB / 280.8 MB, free: 9.266 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.002683/0.02463, allocations: 0.9901 MB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.02469, allocations: 12.03 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.02537, allocations: 136.5 kB / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.02628, allocations: 338.5 kB / 282.3 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.02636, allocations: 41.69 kB / 282.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.0265, allocations: 56.31 kB / 282.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.02824, allocations: 0.5652 MB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.02827, allocations: 4.188 kB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.02835, allocations: 24.12 kB / 283 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.02838, allocations: 12 kB / 283 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.03001, allocations: 411.7 kB / 283.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005598/0.03561, allocations: 2.214 MB / 285.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.03728, allocations: 0.5116 MB / 286.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.03841, allocations: 361.1 kB / 286.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/0.03848, allocations: 8.5 kB / 286.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.03854, allocations: 45.88 kB / 286.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 3.817e-06/0.03855, allocations: 0 / 286.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.007481/0.04603, allocations: 1.717 MB / 288.3 MB, free: 1.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.04609, allocations: 63.89 kB / 288.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.04662, allocations: 442.7 kB / 288.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.04668, allocations: 33.7 kB / 288.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.04694, allocations: 300.1 kB / 289.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.04719, allocations: 214.2 kB / 289.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.04738, allocations: 112 kB / 289.4 MB, free: 404 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1009/0.1483, allocations: 0.543 MB / 289.9 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.1487, allocations: 150.3 kB / 290.1 MB, free: 27.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.149, allocations: 209.7 kB / 290.3 MB, free: 27.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.1496, allocations: 386.4 kB / 290.7 MB, free: 27.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1496, allocations: 0 / 290.7 MB, free: 27.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001172/0.1508, allocations: 0.6697 MB / 291.3 MB, free: 27.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1508, allocations: 6.109 kB / 291.3 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1508, allocations: 2.656 kB / 291.4 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007528/0.1516, allocations: 276.6 kB / 291.6 MB, free: 27.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1518, allocations: 58.34 kB / 291.7 MB, free: 27.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005388/0.1572, allocations: 9.468 MB / 301.1 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1575, allocations: 15.92 kB / 301.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1575, allocations: 16.23 kB / 301.2 MB, free: 19.13 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.0001768/0.1577, allocations: 220 kB / 301.4 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.1578, allocations: 70.09 kB / 301.5 MB, free: 18.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.1579, allocations: 62.25 kB / 301.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1579, allocations: 10.69 kB / 301.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1579, allocations: 2.062 kB / 301.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1579, allocations: 4.156 kB / 301.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.1598, allocations: 1.269 MB / 302.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1598, allocations: 3.281 kB / 302.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.1601, allocations: 57.41 kB / 302.9 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006598/0.1607, allocations: 267.5 kB / 303.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.1608, allocations: 15.95 kB / 303.1 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/0.1662, allocations: 9.467 MB / 312.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1662, allocations: 1.5 kB / 312.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.1678, allocations: 1.05 MB / 313.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.1679, allocations: 83.19 kB / 313.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.168, allocations: 14.56 kB / 313.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1682, allocations: 14.08 kB / 313.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.1684, allocations: 58.22 kB / 313.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.1684, allocations: 14.88 kB / 313.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002514/0.1687, allocations: 298.7 kB / 314.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1687, allocations: 0 / 314.1 MB, free: 8.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008735/0.1695, allocations: 177.2 kB / 314.3 MB, free: 8.531 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.0001263/0.1697, allocations: 117 kB / 314.4 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.1711, allocations: 1.244 MB / 315.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1711, allocations: 1.375 kB / 315.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.1721, allocations: 1.063 MB / 316.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.1725, allocations: 77.69 kB / 316.8 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1745, allocations: 1.213 MB / 318 MB, free: 5.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1747, allocations: 278.2 kB / 318.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.1749, allocations: 42.14 kB / 318.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.1749, allocations: 36.27 kB / 318.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1749, allocations: 0 / 318.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of Templates: time 0.01389/0.1888, allocations: 8.554 MB / 326.9 MB, free: 14.28 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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: 5.230443056090735]