Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007703/0.0007703, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003017/0.003017, allocations: 154.5 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.866/0.866, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.477e-05, allocations: 7.266 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003263/0.003288, allocations: 3.857 MB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004554, allocations: 0.9774 MB / 330.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.004736, allocations: 19.94 kB / 330.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.004917, allocations: 99 kB / 330.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.005283, allocations: 214 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.005566, allocations: 199.6 kB / 331.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007451/0.006311, allocations: 0.7746 MB / 331.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.006522, allocations: 143.7 kB / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.006886, allocations: 443 kB / 332.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.007112, allocations: 235.3 kB / 332.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.00717, allocations: 64 kB / 332.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.007254, allocations: 68 kB / 332.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.007362, allocations: 155.3 kB / 333 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.007498, allocations: 231.4 kB / 333.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.008001, allocations: 0.7358 MB / 334 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.008005, allocations: 3.984 kB / 334 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008007, allocations: 0 / 334 MB, free: 7.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.008014, allocations: 0 / 334 MB, free: 7.133 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.0008973/0.008911, allocations: 0.8593 MB / 334.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.008951, allocations: 15.98 kB / 334.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.009155, allocations: 96.48 kB / 335 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.009545, allocations: 331.6 kB / 335.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.009569, allocations: 37.69 kB / 335.3 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.009622, allocations: 60.31 kB / 335.4 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.01018, allocations: 0.5419 MB / 335.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01019, allocations: 4.188 kB / 335.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.01022, allocations: 24.12 kB / 336 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01023, allocations: 12 kB / 336 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.01074, allocations: 443.7 kB / 336.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.01252, allocations: 1.781 MB / 338.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.01335, allocations: 0.5267 MB / 338.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.01371, allocations: 358.4 kB / 339.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.01374, allocations: 8.484 kB / 339.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.01377, allocations: 39.06 kB / 339.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.01377, allocations: 0 / 339.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002532/0.0163, allocations: 1.721 MB / 340.8 MB, free: 80 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.01635, allocations: 67.94 kB / 340.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.01658, allocations: 333.7 kB / 341.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.0166, allocations: 37.7 kB / 341.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01671, allocations: 241.3 kB / 341.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.0168, allocations: 206.2 kB / 341.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.0169, allocations: 90.34 kB / 341.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.017, allocations: 350.8 kB / 342.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.0172, allocations: 165.2 kB / 342.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.01742, allocations: 216.8 kB / 342.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.01784, allocations: 390.1 kB / 342.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.01784, allocations: 0 / 342.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007159/0.01856, allocations: 0.6601 MB / 343.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01858, allocations: 8 kB / 343.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01858, allocations: 0 / 343.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.01902, allocations: 251.2 kB / 343.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.01919, allocations: 59.89 kB / 343.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.02352, allocations: 6.935 MB / 350.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.0237, allocations: 28.02 kB / 350.8 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.02372, allocations: 16 kB / 350.8 MB, free: 5.578 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.0001982/0.02392, allocations: 170.2 kB / 351 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.02397, allocations: 51.66 kB / 351 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.02402, allocations: 69.25 kB / 351.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.02403, allocations: 11.94 kB / 351.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.02404, allocations: 4.062 kB / 351.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02404, allocations: 0 / 351.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.02528, allocations: 1.163 MB / 352.3 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.02528, allocations: 3.938 kB / 352.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.02542, allocations: 55.91 kB / 352.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003734/0.0258, allocations: 255.1 kB / 352.6 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.02582, allocations: 19.92 kB / 352.6 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.02983, allocations: 6.935 MB / 359.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02983, allocations: 4.031 kB / 359.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.03114, allocations: 1.017 MB / 360.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.03127, allocations: 83.66 kB / 360.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.03129, allocations: 11.94 kB / 360.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.03142, allocations: 19.98 kB / 360.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.03154, allocations: 52.86 kB / 360.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.03156, allocations: 16 kB / 360.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.03173, allocations: 243.2 kB / 361 MB, free: 10.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03173, allocations: 4 kB / 361 MB, free: 10.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006043/0.03233, allocations: 168 kB / 361.2 MB, free: 10.75 MB / 330.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.0001457/0.03248, allocations: 127 kB / 361.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009922/0.03347, allocations: 1.009 MB / 362.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.03347, allocations: 0 / 362.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.03409, allocations: 0.8253 MB / 363.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.03441, allocations: 73.47 kB / 363.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.03585, allocations: 1.213 MB / 364.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.03604, allocations: 283.6 kB / 364.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.03611, allocations: 32.5 kB / 364.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of SimCode: time 9.81e-07/0.03611, allocations: 0 / 364.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of Templates: time 0.0106/0.04671, allocations: 14.1 MB / 378.8 MB, free: 8.918 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.532036327756941]