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.001186/0.001186, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002605/0.003792, allocations: 445.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.001335/0.001335, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001849/0.003184, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.928/0.928, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1409/1.069, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.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.923e-06/1.923e-06, allocations: 0 / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.431e-05, allocations: 2.312 kB / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003547/0.003561, allocations: 4.113 MB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.005175, allocations: 0.9973 MB / 227 MB, free: 10.99 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.005438, allocations: 11.94 kB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.005602, allocations: 95.06 kB / 227.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.00595, allocations: 210 kB / 227.3 MB, free: 10.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.006206, allocations: 163.7 kB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005617/0.006768, allocations: 0.7552 MB / 228.2 MB, free: 9.762 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.00699, allocations: 152.2 kB / 228.3 MB, free: 9.613 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.007416, allocations: 0.4884 MB / 228.8 MB, free: 9.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.007667, allocations: 243.3 kB / 229.1 MB, free: 8.883 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.007732, allocations: 60 kB / 229.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.007798, allocations: 60 kB / 229.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.007906, allocations: 107.6 kB / 229.3 MB, free: 8.66 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.008369, allocations: 187.6 kB / 229.5 MB, free: 8.477 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.008725, allocations: 450.3 kB / 229.9 MB, free: 8.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.008737, allocations: 0 / 229.9 MB, free: 8.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.008738, allocations: 0 / 229.9 MB, free: 8.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.008751, allocations: 4 kB / 229.9 MB, free: 8.031 MB / 234.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.0008782/0.009629, allocations: 0.9592 MB / 230.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.009658, allocations: 8.031 kB / 230.9 MB, free: 7.039 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.009741, allocations: 88.86 kB / 231 MB, free: 6.953 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.009999, allocations: 263.7 kB / 231.2 MB, free: 6.668 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01002, allocations: 37.69 kB / 231.3 MB, free: 6.633 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.01007, allocations: 52.36 kB / 231.3 MB, free: 6.582 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.01043, allocations: 427.5 kB / 231.7 MB, free: 6.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01045, allocations: 192 / 231.7 MB, free: 6.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.01047, allocations: 24.12 kB / 231.8 MB, free: 6.109 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.01048, allocations: 12 kB / 231.8 MB, free: 6.098 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.01069, allocations: 186.8 kB / 232 MB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01197, allocations: 1.45 MB / 233.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.01233, allocations: 397.6 kB / 233.8 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.01252, allocations: 214.9 kB / 234 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.01255, allocations: 16.38 kB / 234 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.01258, allocations: 39.06 kB / 234.1 MB, free: 3.734 MB / 234.7 MB Notification: Performance of pre-optimization done (n=60): time 1.563e-06/0.01258, allocations: 0 / 234.1 MB, free: 3.734 MB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.001641/0.01422, allocations: 1.129 MB / 235.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.01425, allocations: 63.83 kB / 235.2 MB, free: 2.484 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.01441, allocations: 295.4 kB / 235.5 MB, free: 2.188 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01443, allocations: 37.7 kB / 235.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.01452, allocations: 205.9 kB / 235.8 MB, free: 1.938 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.01461, allocations: 210.2 kB / 236 MB, free: 1.73 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.01469, allocations: 94.25 kB / 236.1 MB, free: 1.633 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.01478, allocations: 354.7 kB / 236.4 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.01513, allocations: 61.28 kB / 236.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.01522, allocations: 100.8 kB / 236.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.0154, allocations: 200.8 kB / 236.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01541, allocations: 4 kB / 236.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000369/0.01578, allocations: 372.4 kB / 237.1 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01579, allocations: 8.031 kB / 237.1 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.0158, allocations: 4 kB / 237.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.01612, allocations: 183.2 kB / 237.3 MB, free: 324 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.01633, allocations: 79.89 kB / 237.4 MB, free: 244 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.01937, allocations: 6.05 MB / 243.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.857e-05/0.01947, allocations: 15.98 kB / 243.5 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.01949, allocations: 12 kB / 243.5 MB, free: 9.82 MB / 250.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.0004659/0.01995, allocations: 140.5 kB / 243.6 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.02, allocations: 47.95 kB / 243.7 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.02006, allocations: 60.78 kB / 243.7 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02006, allocations: 12 kB / 243.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.02007, allocations: 0 / 243.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02007, allocations: 3.984 kB / 243.7 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.02082, allocations: 0.7184 MB / 244.5 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02082, allocations: 0 / 244.5 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.02099, allocations: 71.94 kB / 244.5 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.02107, allocations: 55.69 kB / 244.6 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.02137, allocations: 190 kB / 244.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.02139, allocations: 12 kB / 244.8 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.02458, allocations: 6.057 MB / 250.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.02458, allocations: 0 / 250.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.02512, allocations: 0.581 MB / 251.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.02515, allocations: 12 kB / 251.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.02526, allocations: 19.92 kB / 251.5 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.02537, allocations: 60.33 kB / 251.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.02539, allocations: 16.03 kB / 251.5 MB, free: 1.332 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.02548, allocations: 120.7 kB / 251.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02548, allocations: 0 / 251.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005626/0.02604, allocations: 172 kB / 251.8 MB, free: 1.047 MB / 250.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.0001329/0.02617, allocations: 100.3 kB / 251.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.02693, allocations: 0.8264 MB / 252.7 MB, free: 60 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.02694, allocations: 8 kB / 252.7 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.02741, allocations: 0.7407 MB / 253.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.02768, allocations: 117.7 kB / 253.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.03111, allocations: 1.161 MB / 254.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.03121, allocations: 154.8 kB / 254.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.931e-05/0.03129, allocations: 32.38 kB / 254.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.03142, allocations: 123.3 kB / 255.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03143, allocations: 3.938 kB / 255.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of Templates: time 0.03286/0.06429, allocations: 9.258 MB / 264.3 MB, free: 4.379 MB / 266.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 -ignoreHideResult -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.009879800491035]