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.0009128/0.0009128, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002177, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008963/0.0008963, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.002081, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9401/0.9401, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07743/1.018, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.032e-06/1.032e-06, allocations: 3.938 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.464e-05, allocations: 2.312 kB / 245.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003489/0.003503, allocations: 4.204 MB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.005046, allocations: 1.051 MB / 250.3 MB, free: 8.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.005247, allocations: 15.94 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.005397, allocations: 103 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.005712, allocations: 214 kB / 250.6 MB, free: 8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.005989, allocations: 191.7 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.006564, allocations: 0.7747 MB / 251.6 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.006795, allocations: 152.3 kB / 251.7 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.007305, allocations: 496 kB / 252.2 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.007588, allocations: 251.2 kB / 252.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.007657, allocations: 60 kB / 252.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.007782, allocations: 71.98 kB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.007894, allocations: 107.6 kB / 252.7 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.008067, allocations: 187.6 kB / 252.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.008538, allocations: 458.2 kB / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.008552, allocations: 0 / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008553, allocations: 0 / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.008569, allocations: 0 / 253.3 MB, free: 5.277 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.001277/0.009846, allocations: 0.9669 MB / 254.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.009878, allocations: 12.62 kB / 254.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.01016, allocations: 190 kB / 254.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.0105, allocations: 275.7 kB / 254.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.01052, allocations: 37.69 kB / 254.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.01058, allocations: 52.38 kB / 254.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.01103, allocations: 427.5 kB / 255.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01104, allocations: 192 / 255.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.01107, allocations: 24.12 kB / 255.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01109, allocations: 20 kB / 255.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.01135, allocations: 182.8 kB / 255.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.01292, allocations: 1.446 MB / 256.9 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.01335, allocations: 381.5 kB / 257.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.01359, allocations: 226.9 kB / 257.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.01362, allocations: 16.44 kB / 257.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.01364, allocations: 43 kB / 257.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/0.01365, allocations: 0 / 257.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002079/0.01572, allocations: 1.125 MB / 258.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.01575, allocations: 59.84 kB / 258.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01596, allocations: 303.4 kB / 259.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.01599, allocations: 37.7 kB / 259.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.01608, allocations: 201.9 kB / 259.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.0162, allocations: 214.1 kB / 259.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.01631, allocations: 98.25 kB / 259.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01641, allocations: 366.7 kB / 260 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.0165, allocations: 49.3 kB / 260 MB, free: 14.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01662, allocations: 104.8 kB / 260.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.01686, allocations: 208.8 kB / 260.3 MB, free: 14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01686, allocations: 0 / 260.3 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004911/0.01735, allocations: 372.4 kB / 260.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01737, allocations: 8 kB / 260.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.01737, allocations: 0 / 260.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.01798, allocations: 191.2 kB / 260.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.01823, allocations: 71.89 kB / 261 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.02199, allocations: 6.032 MB / 267 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.02214, allocations: 16.06 kB / 267 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.02216, allocations: 12 kB / 267 MB, free: 6.938 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.0001293/0.02229, allocations: 140.7 kB / 267.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.02236, allocations: 51.95 kB / 267.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.02243, allocations: 72.78 kB / 267.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02243, allocations: 4 kB / 267.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.02244, allocations: 7.938 kB / 267.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02245, allocations: 4 kB / 267.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.0236, allocations: 0.7261 MB / 268 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.0236, allocations: 0 / 268 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.02382, allocations: 63.95 kB / 268.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.02392, allocations: 47.7 kB / 268.1 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.0243, allocations: 210.2 kB / 268.3 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.02432, allocations: 8 kB / 268.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/0.02787, allocations: 6.044 MB / 274.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02787, allocations: 96 / 274.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.02856, allocations: 0.5966 MB / 275 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.02861, allocations: 12 kB / 275 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.02875, allocations: 20.06 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.02885, allocations: 56.39 kB / 275.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/0.02906, allocations: 15.98 kB / 275.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.02916, allocations: 124.7 kB / 275.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02916, allocations: 7.938 kB / 275.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007075/0.02987, allocations: 172 kB / 275.4 MB, free: 14.13 MB / 282.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.0001094/0.02998, allocations: 92.41 kB / 275.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.03079, allocations: 0.8304 MB / 276.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.03081, allocations: 8 kB / 276.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.03141, allocations: 0.7484 MB / 277.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.03177, allocations: 117.7 kB / 277.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.03647, allocations: 1.152 MB / 278.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.03661, allocations: 154.8 kB / 278.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.03672, allocations: 36.33 kB / 278.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.03689, allocations: 123.3 kB / 278.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03689, allocations: 0 / 278.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Templates: time 0.01365/0.05054, allocations: 9.269 MB / 287.9 MB, free: 1.559 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",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.8280814616009593]