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.0009501/0.0009501, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001011/0.001011, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9003/0.9003, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.433e-06/1.433e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.735e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003718/0.003745, allocations: 4.105 MB / 255.2 MB, free: 3.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004977, allocations: 0.9472 MB / 256.2 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.005148, allocations: 11.94 kB / 256.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.005327, allocations: 99.06 kB / 256.3 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.005682, allocations: 210 kB / 256.5 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.005912, allocations: 167.7 kB / 256.7 MB, free: 2.215 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.006405, allocations: 0.7589 MB / 257.4 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.006625, allocations: 151.7 kB / 257.6 MB, free: 1.293 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.006972, allocations: 427 kB / 258 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.00723, allocations: 239.3 kB / 258.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.007305, allocations: 60 kB / 258.3 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.007367, allocations: 67.94 kB / 258.3 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.007495, allocations: 151.4 kB / 258.5 MB, free: 376 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.007658, allocations: 231.4 kB / 258.7 MB, free: 144 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.008057, allocations: 494.2 kB / 259.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00806, allocations: 0 / 259.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008062, allocations: 0 / 259.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.008068, allocations: 4 kB / 259.2 MB, free: 15.65 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.0009354/0.009003, allocations: 0.9437 MB / 260.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.00904, allocations: 11.98 kB / 260.2 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.009159, allocations: 116.5 kB / 260.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.009485, allocations: 318.5 kB / 260.6 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.009513, allocations: 45.62 kB / 260.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.009571, allocations: 56.31 kB / 260.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.01007, allocations: 471.4 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.01008, allocations: 4.188 kB / 261.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.01011, allocations: 24.12 kB / 261.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.01013, allocations: 12 kB / 261.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.01049, allocations: 257.7 kB / 261.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.0121, allocations: 2.031 MB / 263.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.01259, allocations: 459.9 kB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.01288, allocations: 257.8 kB / 264.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.01291, allocations: 12.5 kB / 264.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.01294, allocations: 49.83 kB / 264.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.793e-06/0.01294, allocations: 0 / 264.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002154/0.01509, allocations: 1.396 MB / 265.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.01512, allocations: 59.91 kB / 265.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.01535, allocations: 362.8 kB / 266 MB, free: 8.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.01538, allocations: 37.7 kB / 266.1 MB, free: 8.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.0155, allocations: 292 kB / 266.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.01559, allocations: 206.2 kB / 266.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.01569, allocations: 99.95 kB / 266.7 MB, free: 7.883 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01583, allocations: 0.5196 MB / 267.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01596, allocations: 89.2 kB / 267.3 MB, free: 7.266 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.01612, allocations: 134.5 kB / 267.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.01641, allocations: 247.8 kB / 267.6 MB, free: 6.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01641, allocations: 4 kB / 267.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006079/0.01702, allocations: 0.5073 MB / 268.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01704, allocations: 8 kB / 268.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01705, allocations: 0 / 268.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.01754, allocations: 226.5 kB / 268.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.01773, allocations: 55.91 kB / 268.4 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.02251, allocations: 8.863 MB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02269, allocations: 12 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.02272, allocations: 16 kB / 277.3 MB, free: 12.66 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.0001829/0.0229, allocations: 192.6 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.02297, allocations: 71.66 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.02303, allocations: 64.73 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02303, allocations: 8 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.02304, allocations: 0 / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02304, allocations: 0 / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.02425, allocations: 1.025 MB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02425, allocations: 0 / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.0244, allocations: 55.95 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/0.02479, allocations: 234.8 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.02481, allocations: 15.94 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/0.02923, allocations: 8.864 MB / 287.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.02923, allocations: 0 / 287.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.03011, allocations: 0.7744 MB / 288.6 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.03024, allocations: 83.61 kB / 288.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.03027, allocations: 19.97 kB / 288.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.0304, allocations: 20.11 kB / 288.7 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.03051, allocations: 60.33 kB / 288.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.03053, allocations: 12 kB / 288.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.03069, allocations: 255.1 kB / 289.1 MB, free: 340 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03069, allocations: 0 / 289.1 MB, free: 340 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005905/0.03128, allocations: 172 kB / 289.2 MB, free: 168 kB / 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.0001193/0.0314, allocations: 111.2 kB / 289.3 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009559/0.03235, allocations: 1.107 MB / 290.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03236, allocations: 0 / 290.4 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.03326, allocations: 0.9943 MB / 291.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.03361, allocations: 89.66 kB / 291.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.03533, allocations: 1.136 MB / 292.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.03546, allocations: 146.8 kB / 292.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.03557, allocations: 40.36 kB / 292.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.03563, allocations: 32.48 kB / 292.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03563, allocations: 3.938 kB / 292.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of Templates: time 0.01142/0.04705, allocations: 8.543 MB / 301.4 MB, free: 3.805 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.236679858993739]