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.0009511/0.0009511, allocations: 91.61 kB / 22.19 MB, free: 2.352 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.0008844/0.0008844, allocations: 162.1 kB / 25.45 MB, free: 9.359 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.8237/0.8237, allocations: 158.6 MB / 187.2 MB, free: 3.031 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 2.946e-06/2.946e-06, allocations: 0 / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.189e-05/4.484e-05, allocations: 2.281 kB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004056/0.004101, allocations: 3.762 MB / 303.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.006041, allocations: 0.9354 MB / 304.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.006361, allocations: 15.94 kB / 304.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.006592, allocations: 91.06 kB / 304.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.007102, allocations: 210.1 kB / 304.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.007455, allocations: 171.7 kB / 304.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006888/0.008144, allocations: 0.7513 MB / 305.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.008445, allocations: 155.6 kB / 305.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.008965, allocations: 419 kB / 306.2 MB, free: 372 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.009263, allocations: 243.2 kB / 306.4 MB, free: 128 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.00935, allocations: 64 kB / 306.5 MB, free: 64 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.951e-05/0.009419, allocations: 64 kB / 306.6 MB, free: 0 / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.00958, allocations: 151.5 kB / 306.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.009762, allocations: 231.4 kB / 306.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.01038, allocations: 0.7319 MB / 307.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01038, allocations: 0 / 307.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01038, allocations: 0 / 307.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.0104, allocations: 0 / 307.7 MB, free: 14.89 MB / 298.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.001111/0.01151, allocations: 0.8477 MB / 308.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.01155, allocations: 15.98 kB / 308.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.01165, allocations: 80.41 kB / 308.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.01211, allocations: 323.6 kB / 308.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.01215, allocations: 37.69 kB / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.01222, allocations: 56.31 kB / 309 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.01289, allocations: 0.538 MB / 309.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.0129, allocations: 192 / 309.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.01293, allocations: 28.12 kB / 309.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.01295, allocations: 19.98 kB / 309.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.01352, allocations: 443.7 kB / 310 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.01547, allocations: 1.777 MB / 311.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.01609, allocations: 0.511 MB / 312.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.01648, allocations: 370.3 kB / 312.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.01651, allocations: 8.5 kB / 312.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.01654, allocations: 39.06 kB / 312.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.553e-06/0.01654, allocations: 0 / 312.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002804/0.01934, allocations: 1.709 MB / 314.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.0194, allocations: 55.91 kB / 314.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.01967, allocations: 341.6 kB / 314.8 MB, free: 7.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.0197, allocations: 33.7 kB / 314.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.01984, allocations: 241.3 kB / 315.1 MB, free: 7.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.01996, allocations: 210.1 kB / 315.3 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.02007, allocations: 90.34 kB / 315.4 MB, free: 6.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.0202, allocations: 362.7 kB / 315.8 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.02042, allocations: 161.2 kB / 315.9 MB, free: 6.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.02076, allocations: 212.8 kB / 316.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.02129, allocations: 394.1 kB / 316.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.02129, allocations: 0 / 316.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000783/0.02207, allocations: 0.6524 MB / 317.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.02209, allocations: 4 kB / 317.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.0221, allocations: 4.031 kB / 317.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.02258, allocations: 263.1 kB / 317.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.02276, allocations: 59.91 kB / 317.5 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.02716, allocations: 6.934 MB / 324.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.02729, allocations: 23.92 kB / 324.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.02731, allocations: 20.25 kB / 324.5 MB, free: 13.39 MB / 314.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.0001658/0.02748, allocations: 169.8 kB / 324.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.02753, allocations: 55.61 kB / 324.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.02758, allocations: 64.75 kB / 324.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.02759, allocations: 8 kB / 324.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.0276, allocations: 0 / 324.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.0276, allocations: 7.922 kB / 324.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.02881, allocations: 1.159 MB / 325.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02881, allocations: 4 kB / 325.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.02895, allocations: 47.97 kB / 326 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.02931, allocations: 267.3 kB / 326.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.02933, allocations: 15.94 kB / 326.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.03323, allocations: 6.946 MB / 333.2 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.03324, allocations: 0 / 333.2 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.03427, allocations: 1.017 MB / 334.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.03437, allocations: 71.7 kB / 334.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.0344, allocations: 16.06 kB / 334.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.03452, allocations: 24 kB / 334.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.03463, allocations: 56.39 kB / 334.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.03465, allocations: 15.98 kB / 334.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.0348, allocations: 235.2 kB / 334.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0348, allocations: 0 / 334.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005467/0.03535, allocations: 176 kB / 334.8 MB, free: 2.562 MB / 314.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.0001103/0.03546, allocations: 115.2 kB / 334.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.03642, allocations: 1.005 MB / 335.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.03642, allocations: 0 / 335.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.03704, allocations: 0.8253 MB / 336.7 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.03734, allocations: 77.34 kB / 336.8 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.03873, allocations: 1.199 MB / 338 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.03894, allocations: 283.5 kB / 338.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.03901, allocations: 32.48 kB / 338.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03901, allocations: 0 / 338.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Templates: time 0.01042/0.04943, allocations: 13.92 MB / 352.2 MB, free: 0.9258 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.3758702632039785]