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.001262/0.001262, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008861/0.0008861, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.8767/0.8767, allocations: 177 MB / 205.2 MB, free: 5.027 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.392e-06/1.392e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.08e-05, allocations: 5.266 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005535/0.005555, allocations: 4.943 MB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.01342, allocations: 6.455 MB / 284.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.01397, allocations: 63.31 kB / 284.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.01517, allocations: 492.7 kB / 285.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.01717, allocations: 0.861 MB / 286.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.01823, allocations: 450.2 kB / 286.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.0207, allocations: 2.129 MB / 288.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.02092, allocations: 103.2 kB / 288.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.02147, allocations: 0.5103 MB / 289.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.02179, allocations: 235.1 kB / 289.6 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.02184, allocations: 28 kB / 289.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.02268, allocations: 463.4 kB / 290.1 MB, free: 300 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.02278, allocations: 119.2 kB / 290.2 MB, free: 180 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09452/0.1173, allocations: 233.2 kB / 290.4 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.1187, allocations: 0.9787 MB / 291.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1187, allocations: 0.6875 kB / 291.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1187, allocations: 0.6875 kB / 291.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.343e-05/0.1187, allocations: 1.375 kB / 291.4 MB, free: 16.91 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.001266/0.12, allocations: 1.393 MB / 292.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.12, allocations: 13.02 kB / 292.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.1202, allocations: 109.2 kB / 292.9 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.1209, allocations: 0.7434 MB / 293.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.121, allocations: 17.41 kB / 293.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.121, allocations: 26.72 kB / 293.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1213, allocations: 288.2 kB / 294 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1213, allocations: 0.5 kB / 294 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1213, allocations: 12.56 kB / 294 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1213, allocations: 7.219 kB / 294 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1214, allocations: 120.4 kB / 294.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.1222, allocations: 0.6008 MB / 294.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1224, allocations: 209.8 kB / 294.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1226, allocations: 221.5 kB / 295.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/0.1232, allocations: 255.7 kB / 295.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.1232, allocations: 36.75 kB / 295.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.165e-06/0.1232, allocations: 1.453 kB / 295.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001205/0.1244, allocations: 0.859 MB / 296.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1244, allocations: 114.6 kB / 296.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.1249, allocations: 0.8355 MB / 297.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.125, allocations: 30.45 kB / 297.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.1251, allocations: 220 kB / 297.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.1251, allocations: 140 kB / 297.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.1252, allocations: 104.5 kB / 297.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.68e-05/0.1252, allocations: 321.6 kB / 298 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.1253, allocations: 73.94 kB / 298.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.1254, allocations: 131.5 kB / 298.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1255, allocations: 210.9 kB / 298.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1255, allocations: 0 / 298.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00031/0.1259, allocations: 343.5 kB / 298.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1259, allocations: 42.23 kB / 298.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.1259, allocations: 7.266 kB / 298.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.126, allocations: 53.34 kB / 298.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1261, allocations: 40.7 kB / 298.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/0.127, allocations: 2.761 MB / 301.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1272, allocations: 10.09 kB / 301.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1272, allocations: 12.77 kB / 301.7 MB, free: 10.98 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: 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.0001255/0.1273, allocations: 163.9 kB / 301.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.1274, allocations: 86.98 kB / 301.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.1279, allocations: 482.9 kB / 302.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1279, allocations: 4.031 kB / 302.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1279, allocations: 1.906 kB / 302.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1279, allocations: 2.969 kB / 302.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.1283, allocations: 343.5 kB / 302.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.1283, allocations: 12.17 kB / 302.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.1284, allocations: 29.2 kB / 302.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.1285, allocations: 67.23 kB / 302.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1285, allocations: 10.44 kB / 302.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007631/0.1293, allocations: 2.756 MB / 305.6 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1293, allocations: 1.281 kB / 305.6 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.1298, allocations: 0.6093 MB / 306.2 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.1299, allocations: 183 kB / 306.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.13, allocations: 7.156 kB / 306.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1301, allocations: 11.53 kB / 306.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.1302, allocations: 27.22 kB / 306.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1302, allocations: 12.27 kB / 306.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000321/0.1305, allocations: 437.3 kB / 306.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1305, allocations: 0 / 306.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005311/0.1311, allocations: 225 kB / 307.1 MB, free: 7.582 MB / 266.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.0003655/0.1314, allocations: 319 kB / 307.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.1319, allocations: 0.6466 MB / 308.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.1319, allocations: 11.56 kB / 308.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1321, allocations: 0.5636 MB / 308.6 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1324, allocations: 120.9 kB / 308.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1336, allocations: 1.481 MB / 310.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.1337, allocations: 167.6 kB / 310.4 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.1338, allocations: 95.19 kB / 310.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.134, allocations: 177.4 kB / 310.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.134, allocations: 3.812 kB / 310.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of Templates: time 0.01113/0.1452, allocations: 10.22 MB / 320.9 MB, free: 15.04 MB / 282.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.59656167589128]