Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.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.001552/0.001552, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001575/0.001575, allocations: 173.2 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.874/0.874, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.566e-06/9.648e-06, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003514/0.003524, allocations: 4.95 MB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004956/0.00848, allocations: 6.444 MB / 284.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.008729, allocations: 63.31 kB / 284.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.009395, allocations: 484.6 kB / 285.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009904/0.01039, allocations: 0.8726 MB / 286.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.01091, allocations: 458.2 kB / 286.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.01272, allocations: 2.117 MB / 288.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.01288, allocations: 107.2 kB / 288.9 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.01324, allocations: 0.5064 MB / 289.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.01346, allocations: 235.1 kB / 289.6 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.0135, allocations: 32 kB / 289.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.01398, allocations: 467.4 kB / 290.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.01405, allocations: 111.2 kB / 290.2 MB, free: 416 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.01421, allocations: 235.2 kB / 290.5 MB, free: 180 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.09204/0.1062, allocations: 0.9834 MB / 291.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1062, allocations: 0 / 291.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1062, allocations: 0 / 291.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1063, allocations: 1.031 kB / 291.5 MB, free: 17.02 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.00113/0.1074, allocations: 1.387 MB / 292.8 MB, free: 16.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1074, allocations: 10.5 kB / 292.8 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.1076, allocations: 109.4 kB / 293 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.1083, allocations: 0.7476 MB / 293.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1083, allocations: 18.06 kB / 293.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.1084, allocations: 20.34 kB / 293.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.1086, allocations: 294.1 kB / 294 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1086, allocations: 2.188 kB / 294 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1086, allocations: 11.38 kB / 294 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1087, allocations: 6.844 kB / 294 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1088, allocations: 117 kB / 294.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.1096, allocations: 0.6039 MB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1097, allocations: 217.6 kB / 295 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1099, allocations: 214.9 kB / 295.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005218/0.1105, allocations: 263 kB / 295.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.1105, allocations: 34 kB / 295.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.323e-06/0.1105, allocations: 0.5625 kB / 295.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001197/0.1117, allocations: 0.8627 MB / 296.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.1117, allocations: 114.2 kB / 296.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.1122, allocations: 0.8338 MB / 297.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1122, allocations: 31.89 kB / 297.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1124, allocations: 216.6 kB / 297.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.1124, allocations: 143.9 kB / 297.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.1125, allocations: 103.9 kB / 297.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.951e-05/0.1125, allocations: 321.5 kB / 298.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.1126, allocations: 73.83 kB / 298.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.1127, allocations: 130.7 kB / 298.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1129, allocations: 213.9 kB / 298.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1129, allocations: 3.969 kB / 298.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003115/0.1132, allocations: 336.3 kB / 298.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1132, allocations: 37.84 kB / 298.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.1132, allocations: 9.75 kB / 298.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.1133, allocations: 55.69 kB / 298.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1134, allocations: 39.56 kB / 299 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/0.1143, allocations: 2.766 MB / 301.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1145, allocations: 9.188 kB / 301.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.1145, allocations: 13.23 kB / 301.8 MB, free: 11.09 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.0001266/0.1146, allocations: 164.9 kB / 301.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.1147, allocations: 82.55 kB / 302 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.1152, allocations: 480.7 kB / 302.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1152, allocations: 5.156 kB / 302.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1152, allocations: 1.938 kB / 302.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1152, allocations: 1.547 kB / 302.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.1156, allocations: 344.9 kB / 302.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.1156, allocations: 8.906 kB / 302.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.1157, allocations: 35.36 kB / 302.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.1158, allocations: 62.05 kB / 302.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1158, allocations: 10.58 kB / 302.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00076/0.1166, allocations: 2.76 MB / 305.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1166, allocations: 0 / 305.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.117, allocations: 0.6092 MB / 306.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.1172, allocations: 185 kB / 306.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.1173, allocations: 6.125 kB / 306.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1174, allocations: 13.73 kB / 306.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.1175, allocations: 29.62 kB / 306.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1175, allocations: 12.61 kB / 306.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002949/0.1178, allocations: 434.8 kB / 307 MB, free: 7.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1178, allocations: 0 / 307 MB, free: 7.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004894/0.1183, allocations: 223.4 kB / 307.2 MB, free: 7.695 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.0003468/0.1186, allocations: 316.9 kB / 307.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.119, allocations: 0.6549 MB / 308.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.119, allocations: 11 kB / 308.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.1193, allocations: 0.5516 MB / 308.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1196, allocations: 121.8 kB / 308.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1208, allocations: 1.485 MB / 310.3 MB, free: 5.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.1208, allocations: 166.8 kB / 310.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.121, allocations: 95.77 kB / 310.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.1212, allocations: 181.8 kB / 310.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1212, allocations: 0 / 310.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of Templates: time 0.01083/0.132, allocations: 10.23 MB / 321 MB, free: 15.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.589906602166593]