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.0008366/0.0008366, allocations: 80.8 kB / 21.49 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.0009192/0.0009192, allocations: 170.3 kB / 24.91 MB, free: 8.762 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.9748/0.9748, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.102e-06/1.102e-06, allocations: 0 / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.903e-05, allocations: 5.969 kB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004307/0.004326, allocations: 4.987 MB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.01053, allocations: 6.447 MB / 284.9 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005138/0.01104, allocations: 63.31 kB / 285 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.01202, allocations: 0.4888 MB / 285.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.01374, allocations: 0.8337 MB / 286.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.01456, allocations: 402.2 kB / 286.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.01648, allocations: 2.121 MB / 288.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.0167, allocations: 103.2 kB / 288.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.01751, allocations: 0.5103 MB / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.01779, allocations: 243.1 kB / 289.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.01783, allocations: 28 kB / 289.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.01862, allocations: 0.5033 MB / 290.2 MB, free: 364 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.0187, allocations: 111.2 kB / 290.3 MB, free: 252 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.01887, allocations: 239.2 kB / 290.5 MB, free: 12 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1064/0.1252, allocations: 0.9793 MB / 291.5 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1252, allocations: 0 / 291.5 MB, free: 16.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1252, allocations: 0 / 291.5 MB, free: 16.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1253, allocations: 0 / 291.5 MB, free: 16.92 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.00122/0.1265, allocations: 1.389 MB / 292.9 MB, free: 16.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1265, allocations: 11.36 kB / 292.9 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.1267, allocations: 106.3 kB / 293 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.1274, allocations: 0.7446 MB / 293.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1274, allocations: 17.47 kB / 293.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.1275, allocations: 20.27 kB / 293.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1277, allocations: 297.7 kB / 294.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1278, allocations: 0.6562 kB / 294.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1278, allocations: 14.66 kB / 294.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1278, allocations: 6.188 kB / 294.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1279, allocations: 113.5 kB / 294.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.1287, allocations: 0.604 MB / 294.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1289, allocations: 211.7 kB / 295 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.1291, allocations: 216.9 kB / 295.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.1297, allocations: 261.4 kB / 295.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1297, allocations: 38.84 kB / 295.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.663e-06/0.1297, allocations: 0 / 295.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001272/0.131, allocations: 0.8655 MB / 296.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.131, allocations: 115 kB / 296.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.1315, allocations: 0.8347 MB / 297.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1315, allocations: 30.84 kB / 297.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1317, allocations: 217.6 kB / 297.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.1317, allocations: 136.7 kB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.1318, allocations: 104 kB / 297.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.1318, allocations: 325.2 kB / 298.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.1319, allocations: 73.88 kB / 298.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.132, allocations: 135.9 kB / 298.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1322, allocations: 213.2 kB / 298.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1322, allocations: 0.6875 kB / 298.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00034/0.1325, allocations: 342.7 kB / 298.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.1326, allocations: 39.02 kB / 298.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.1326, allocations: 6.719 kB / 298.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.1327, allocations: 55.61 kB / 299 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1328, allocations: 41.95 kB / 299 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.1338, allocations: 2.767 MB / 301.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.134, allocations: 10.81 kB / 301.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.134, allocations: 11.84 kB / 301.8 MB, free: 10.99 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.0001311/0.1341, allocations: 163.3 kB / 302 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.1342, allocations: 85.58 kB / 302.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.1348, allocations: 489.6 kB / 302.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1348, allocations: 3.438 kB / 302.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1348, allocations: 2.312 kB / 302.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1348, allocations: 1.594 kB / 302.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1352, allocations: 340.3 kB / 302.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.1352, allocations: 3.781 kB / 302.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/0.1353, allocations: 37.69 kB / 302.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.1354, allocations: 65.58 kB / 303 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1354, allocations: 13.31 kB / 303 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008468/0.1363, allocations: 2.759 MB / 305.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1363, allocations: 2.219 kB / 305.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.1368, allocations: 0.6109 MB / 306.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.1369, allocations: 180.8 kB / 306.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.137, allocations: 9.328 kB / 306.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.1371, allocations: 9.766 kB / 306.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.1372, allocations: 25.08 kB / 306.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.1372, allocations: 12.16 kB / 306.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.1375, allocations: 439 kB / 307 MB, free: 7.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1375, allocations: 0 / 307 MB, free: 7.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005993/0.1381, allocations: 222.1 kB / 307.2 MB, free: 7.594 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.0003955/0.1385, allocations: 323.4 kB / 307.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.139, allocations: 0.6534 MB / 308.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.139, allocations: 11.12 kB / 308.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.1392, allocations: 0.5507 MB / 308.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1395, allocations: 126.4 kB / 308.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1408, allocations: 1.479 MB / 310.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.1409, allocations: 165.7 kB / 310.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.141, allocations: 97.88 kB / 310.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.1412, allocations: 180.7 kB / 310.8 MB, free: 5.547 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1412, allocations: 0 / 310.8 MB, free: 5.547 MB / 266.7 MB Notification: Performance of Templates: time 0.01173/0.1529, allocations: 10.22 MB / 321 MB, free: 15.13 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 -s gbode -gbm=radauIIA3 -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.71490932488814]