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.00154/0.00154, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001918/0.001918, allocations: 163 kB / 25.69 MB, free: 8.418 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.8542/0.8542, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.263e-06/1.263e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.855e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003433/0.003451, allocations: 4.066 MB / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.004594, allocations: 0.9857 MB / 256.6 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.004743, allocations: 12 kB / 256.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.004915, allocations: 99 kB / 256.7 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.005247, allocations: 202.1 kB / 256.9 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.00546, allocations: 171.6 kB / 257.1 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.006033, allocations: 0.7629 MB / 257.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.00623, allocations: 152.3 kB / 258 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.006529, allocations: 427 kB / 258.4 MB, free: 360 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.006757, allocations: 243.3 kB / 258.6 MB, free: 116 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.006815, allocations: 64 kB / 258.7 MB, free: 52 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.006882, allocations: 64.05 kB / 258.8 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.006987, allocations: 155.3 kB / 258.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.007129, allocations: 227.4 kB / 259.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.007475, allocations: 0.4904 MB / 259.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007477, allocations: 0 / 259.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007478, allocations: 0 / 259.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007483, allocations: 0 / 259.6 MB, free: 15.12 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.0007554/0.008238, allocations: 0.8189 MB / 260.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.008267, allocations: 11.98 kB / 260.5 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.008352, allocations: 92.86 kB / 260.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.008593, allocations: 263.7 kB / 260.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.008775, allocations: 37.69 kB / 260.8 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.008823, allocations: 52.38 kB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.009179, allocations: 423.5 kB / 261.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.009189, allocations: 192 / 261.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.009216, allocations: 28.12 kB / 261.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.009225, allocations: 12 kB / 261.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.009434, allocations: 190.8 kB / 261.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01068, allocations: 1.45 MB / 263 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.01102, allocations: 373.8 kB / 263.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.01121, allocations: 218.9 kB / 263.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.01124, allocations: 16.44 kB / 263.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.01126, allocations: 35.06 kB / 263.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.524e-06/0.01126, allocations: 8 kB / 263.6 MB, free: 10.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001591/0.01285, allocations: 1.117 MB / 264.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.01288, allocations: 59.84 kB / 264.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.01303, allocations: 303.4 kB / 265.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01305, allocations: 37.7 kB / 265.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.01313, allocations: 205.9 kB / 265.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.01322, allocations: 214.1 kB / 265.5 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.0133, allocations: 94.25 kB / 265.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.01339, allocations: 358.7 kB / 266 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.01345, allocations: 49.3 kB / 266 MB, free: 8.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.01354, allocations: 100.8 kB / 266.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.01372, allocations: 208.8 kB / 266.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01372, allocations: 4 kB / 266.3 MB, free: 8.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003661/0.01408, allocations: 372.4 kB / 266.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.0141, allocations: 8 kB / 266.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.0141, allocations: 0 / 266.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.01443, allocations: 199.2 kB / 266.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01457, allocations: 59.91 kB / 267 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.0178, allocations: 6.027 MB / 273 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.0179, allocations: 12 kB / 273 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01792, allocations: 15.98 kB / 273 MB, free: 1.098 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.0001121/0.01803, allocations: 148.5 kB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.01808, allocations: 47.95 kB / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.01813, allocations: 64.75 kB / 273.3 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.01813, allocations: 7.984 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01814, allocations: 4 kB / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01814, allocations: 3.984 kB / 273.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.01891, allocations: 0.7107 MB / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01891, allocations: 3.938 kB / 274 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01904, allocations: 51.91 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.01935, allocations: 210.4 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.01937, allocations: 12 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.0223, allocations: 6.037 MB / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0223, allocations: 0 / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.02282, allocations: 0.5849 MB / 280.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.02291, allocations: 55.64 kB / 280.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.02294, allocations: 12 kB / 281 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.02304, allocations: 12 kB / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.02312, allocations: 60.33 kB / 281 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.02313, allocations: 11.94 kB / 281 MB, free: 8.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.02322, allocations: 124.7 kB / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.02322, allocations: 0 / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000492/0.02371, allocations: 172 kB / 281.3 MB, free: 8.34 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.0001034/0.02381, allocations: 92.42 kB / 281.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006419/0.02445, allocations: 0.8304 MB / 282.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.02446, allocations: 4 kB / 282.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.02515, allocations: 0.7406 MB / 283 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.0254, allocations: 89.45 kB / 283.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.02669, allocations: 1.059 MB / 284.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.02678, allocations: 142.8 kB / 284.3 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.02685, allocations: 40.38 kB / 284.3 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.02698, allocations: 127.2 kB / 284.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02698, allocations: 0 / 284.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of Templates: time 0.01087/0.03785, allocations: 8.945 MB / 293.4 MB, free: 12.15 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: 2.9525319156236947]