Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.001332/0.001332, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001559/0.001559, allocations: 161.2 kB / 25.61 MB, free: 8.891 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.8636/0.8636, allocations: 177 MB / 205.9 MB, free: 4.461 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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.155e-05, allocations: 3 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.01423/0.01426, allocations: 4.934 MB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.03282, allocations: 6.294 MB / 285.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007915/0.03361, allocations: 67.31 kB / 285.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004621/0.03823, allocations: 476.6 kB / 285.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005747/0.04398, allocations: 0.8532 MB / 286.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.04532, allocations: 446.2 kB / 287.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00658/0.0519, allocations: 2.14 MB / 289.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.05221, allocations: 95.25 kB / 289.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.05619, allocations: 0.5103 MB / 289.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.05659, allocations: 235.1 kB / 290.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.05667, allocations: 32 kB / 290.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.05778, allocations: 463.4 kB / 290.6 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.05789, allocations: 119.2 kB / 290.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.05817, allocations: 235.2 kB / 290.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.05962, allocations: 0.9845 MB / 291.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.05963, allocations: 0 / 291.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.05963, allocations: 0 / 291.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.05965, allocations: 0 / 291.9 MB, free: 2.395 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001507/0.06116, allocations: 1.562 MB / 293.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.06119, allocations: 8.031 kB / 293.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.06143, allocations: 163.1 kB / 293.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.0622, allocations: 0.8604 MB / 294.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.06222, allocations: 16.5 kB / 294.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.06226, allocations: 24 kB / 294.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.06255, allocations: 297.5 kB / 294.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.06256, allocations: 0 / 294.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.06258, allocations: 12 kB / 294.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.06259, allocations: 4 kB / 294.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.06273, allocations: 141.6 kB / 295 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009993/0.06373, allocations: 0.8913 MB / 295.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.06394, allocations: 200.6 kB / 296.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.06417, allocations: 230 kB / 296.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/0.06455, allocations: 166.8 kB / 296.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.06458, allocations: 49.31 kB / 296.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.673e-06/0.06458, allocations: 0 / 296.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001283/0.06586, allocations: 1.006 MB / 297.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.0659, allocations: 106.8 kB / 297.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.0665, allocations: 1.005 MB / 298.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.06653, allocations: 33.7 kB / 298.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.06698, allocations: 440.3 kB / 299.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.06705, allocations: 142.7 kB / 299.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.06715, allocations: 123.3 kB / 299.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.06725, allocations: 0.4887 MB / 299.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.06733, allocations: 77.95 kB / 299.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.06743, allocations: 159 kB / 300.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.06762, allocations: 238.6 kB / 300.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.06762, allocations: 0 / 300.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003898/0.06801, allocations: 446.9 kB / 300.8 MB, free: 9.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.06804, allocations: 37.64 kB / 300.8 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.06806, allocations: 19.98 kB / 300.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.0682, allocations: 67.39 kB / 300.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.06831, allocations: 35.97 kB / 300.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.06987, allocations: 4.061 MB / 305 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.07, allocations: 8 kB / 305 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.07003, allocations: 16 kB / 305 MB, free: 4.68 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.07019, allocations: 214.1 kB / 305.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.07029, allocations: 135.2 kB / 305.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006044/0.07089, allocations: 0.5632 MB / 305.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.0709, allocations: 4 kB / 305.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.0709, allocations: 4 kB / 305.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.0709, allocations: 0 / 305.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.0715, allocations: 419.8 kB / 306.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.07152, allocations: 12 kB / 306.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.07161, allocations: 43.91 kB / 306.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.07172, allocations: 67.25 kB / 306.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.07174, allocations: 16 kB / 306.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.07319, allocations: 4.05 MB / 310.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.07319, allocations: 0 / 310.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.07378, allocations: 0.7486 MB / 311.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.07399, allocations: 221.1 kB / 311.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.07405, allocations: 8 kB / 311.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.07418, allocations: 19.92 kB / 311.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.07424, allocations: 27.95 kB / 311.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.07426, allocations: 16.12 kB / 311.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.07459, allocations: 0.5745 MB / 312.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07459, allocations: 0 / 312.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.07512, allocations: 227.5 kB / 312.3 MB, free: 12.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003906/0.07552, allocations: 335.2 kB / 312.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007831/0.0763, allocations: 0.7921 MB / 313.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.0763, allocations: 3.938 kB / 313.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.07664, allocations: 0.6864 MB / 314.1 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.07702, allocations: 124.8 kB / 314.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.07834, allocations: 1.47 MB / 315.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.07844, allocations: 166.3 kB / 315.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.07861, allocations: 93.64 kB / 316 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.07883, allocations: 226.1 kB / 316.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.07883, allocations: 0 / 316.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of Templates: time 0.01303/0.09186, allocations: 10.34 MB / 326.6 MB, free: 14.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.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.761719385161996]