Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009289, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9911/0.9911, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.877e-06/1.026e-05, allocations: 2.312 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004075/0.004086, allocations: 4.964 MB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.01013, allocations: 6.405 MB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.01053, allocations: 63.31 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.01142, allocations: 496.5 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.01293, allocations: 0.8336 MB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.01379, allocations: 394.2 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.01581, allocations: 2.074 MB / 283.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.01601, allocations: 119.2 kB / 283.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.01646, allocations: 0.4986 MB / 284.3 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.01671, allocations: 243.1 kB / 284.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.01675, allocations: 31.94 kB / 284.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.01741, allocations: 495.5 kB / 285.1 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.01748, allocations: 111.2 kB / 285.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.01764, allocations: 235.2 kB / 285.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.01844, allocations: 0.9767 MB / 286.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01845, allocations: 0 / 286.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.01845, allocations: 0 / 286.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.01846, allocations: 0 / 286.4 MB, free: 3.992 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.001043/0.0195, allocations: 1.386 MB / 287.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.01953, allocations: 8.922 kB / 287.8 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.01962, allocations: 103.8 kB / 287.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.02027, allocations: 0.7446 MB / 288.6 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.02028, allocations: 16.5 kB / 288.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.02032, allocations: 20 kB / 288.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.02058, allocations: 290.7 kB / 289 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.02059, allocations: 7.984 kB / 289 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.02061, allocations: 8 kB / 289 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.02061, allocations: 8 kB / 289 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.02073, allocations: 116.4 kB / 289.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.02148, allocations: 0.6024 MB / 289.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.02166, allocations: 218.8 kB / 289.9 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.02186, allocations: 222.4 kB / 290.1 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09613/0.118, allocations: 236.2 kB / 290.4 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.118, allocations: 38.41 kB / 290.4 MB, free: 24.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.118, allocations: 0.6875 kB / 290.4 MB, free: 24.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001402/0.1194, allocations: 0.8607 MB / 291.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1194, allocations: 115.1 kB / 291.4 MB, free: 24.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.12, allocations: 0.8381 MB / 292.2 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.12, allocations: 30.27 kB / 292.2 MB, free: 24.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.1201, allocations: 218.2 kB / 292.4 MB, free: 24.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.1202, allocations: 138.9 kB / 292.6 MB, free: 24.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.1203, allocations: 104.5 kB / 292.7 MB, free: 24.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.203e-05/0.1203, allocations: 328.3 kB / 293 MB, free: 23.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.1204, allocations: 71.91 kB / 293.1 MB, free: 23.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.1204, allocations: 143.2 kB / 293.2 MB, free: 23.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1206, allocations: 217 kB / 293.4 MB, free: 23.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1206, allocations: 1.219 kB / 293.4 MB, free: 23.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003401/0.121, allocations: 330.8 kB / 293.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.121, allocations: 39.69 kB / 293.8 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.121, allocations: 6.281 kB / 293.8 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.1212, allocations: 59.95 kB / 293.9 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1213, allocations: 41.2 kB / 293.9 MB, free: 23.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/0.1222, allocations: 2.76 MB / 296.7 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1223, allocations: 12.17 kB / 296.7 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.1224, allocations: 12.27 kB / 296.7 MB, free: 20.87 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.0001281/0.1225, allocations: 165.6 kB / 296.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.1226, allocations: 87.2 kB / 296.9 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.1231, allocations: 482.8 kB / 297.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1231, allocations: 4.281 kB / 297.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1231, allocations: 1.125 kB / 297.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1231, allocations: 5.688 kB / 297.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1235, allocations: 342.2 kB / 297.7 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.1235, allocations: 7.891 kB / 297.7 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1236, allocations: 38.44 kB / 297.8 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.1237, allocations: 60.3 kB / 297.8 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1237, allocations: 8.734 kB / 297.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008199/0.1245, allocations: 2.775 MB / 300.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1245, allocations: 0 / 300.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.125, allocations: 0.6094 MB / 301.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.1252, allocations: 179.9 kB / 301.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.1252, allocations: 8.531 kB / 301.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1254, allocations: 9.688 kB / 301.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.1254, allocations: 24.88 kB / 301.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1254, allocations: 12.86 kB / 301.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003201/0.1258, allocations: 438 kB / 301.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 0 / 301.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004867/0.1263, allocations: 221.5 kB / 302.1 MB, free: 17.5 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.0003738/0.1266, allocations: 317.9 kB / 302.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.1271, allocations: 0.6495 MB / 303.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.1271, allocations: 15.03 kB / 303.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.1273, allocations: 0.5472 MB / 303.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1276, allocations: 124.2 kB / 303.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.129, allocations: 1.474 MB / 305.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.1291, allocations: 174.5 kB / 305.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.1293, allocations: 93.94 kB / 305.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.1295, allocations: 180.6 kB / 305.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1295, allocations: 0 / 305.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Templates: time 0.01156/0.141, allocations: 10.18 MB / 315.8 MB, free: 10.33 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.71860420005396]