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.001027/0.001027, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.001066/0.001066, allocations: 152.5 kB / 24.81 MB, free: 9.27 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.9094/0.9094, allocations: 173.3 MB / 201.4 MB, free: 9.219 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.283e-06/1.283e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.418e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004029/0.004043, allocations: 4.93 MB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.009293, allocations: 6.246 MB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.009602, allocations: 63.31 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.01037, allocations: 476.7 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.01154, allocations: 0.8571 MB / 280.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008438/0.01238, allocations: 438.2 kB / 281.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.01408, allocations: 2.086 MB / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.01425, allocations: 95.25 kB / 283.6 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.01467, allocations: 0.5103 MB / 284.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.01489, allocations: 239.1 kB / 284.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.01494, allocations: 28 kB / 284.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.01548, allocations: 455.4 kB / 284.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.01554, allocations: 111.2 kB / 284.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.0157, allocations: 231.2 kB / 285.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007564/0.01645, allocations: 0.9768 MB / 286.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01646, allocations: 0 / 286.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01646, allocations: 0 / 286.1 MB, free: 4.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.01646, allocations: 0 / 286.1 MB, free: 4.43 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.001132/0.0176, allocations: 1.555 MB / 287.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.01763, allocations: 8.922 kB / 287.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.01775, allocations: 155.1 kB / 287.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.01871, allocations: 0.8565 MB / 288.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.01872, allocations: 20.5 kB / 288.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.01877, allocations: 27.98 kB / 288.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.01903, allocations: 293.5 kB / 289 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.01904, allocations: 0 / 289 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.01906, allocations: 16 kB / 289 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01907, allocations: 4 kB / 289 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.0192, allocations: 141.6 kB / 289.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.0201, allocations: 0.8874 MB / 290 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.02029, allocations: 188.7 kB / 290.2 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1032/0.1235, allocations: 234.2 kB / 290.4 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/0.1239, allocations: 176.3 kB / 290.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1239, allocations: 43.66 kB / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.094e-06/0.1239, allocations: 0 / 290.7 MB, free: 24.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001429/0.1254, allocations: 1.005 MB / 291.7 MB, free: 24.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1254, allocations: 113.9 kB / 291.8 MB, free: 24.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.1261, allocations: 1.004 MB / 292.8 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1261, allocations: 30.17 kB / 292.8 MB, free: 24.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1264, allocations: 444.9 kB / 293.2 MB, free: 24.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.1264, allocations: 139.4 kB / 293.4 MB, free: 24.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1265, allocations: 122.1 kB / 293.5 MB, free: 23.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.1266, allocations: 0.4905 MB / 294 MB, free: 23.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.1267, allocations: 86.03 kB / 294.1 MB, free: 23.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1268, allocations: 160.8 kB / 294.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.127, allocations: 225.5 kB / 294.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.127, allocations: 4.406 kB / 294.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004196/0.1274, allocations: 454.5 kB / 294.9 MB, free: 23.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.1274, allocations: 44.06 kB / 294.9 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.1274, allocations: 12.28 kB / 295 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.1276, allocations: 69.12 kB / 295 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1277, allocations: 37.72 kB / 295.1 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1289, allocations: 4.055 MB / 299.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.129, allocations: 9.391 kB / 299.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.1291, allocations: 20.95 kB / 299.1 MB, free: 19.18 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.0001348/0.1292, allocations: 205.7 kB / 299.3 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1293, allocations: 139.6 kB / 299.5 MB, free: 18.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.1299, allocations: 0.5659 MB / 300 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1299, allocations: 4.031 kB / 300.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1299, allocations: 2.344 kB / 300.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1299, allocations: 1.219 kB / 300.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1303, allocations: 427.3 kB / 300.5 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.1304, allocations: 12.31 kB / 300.5 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.1305, allocations: 36.89 kB / 300.5 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.1306, allocations: 69.16 kB / 300.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1306, allocations: 13.75 kB / 300.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009812/0.1316, allocations: 4.061 MB / 304.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1316, allocations: 1.375 kB / 304.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.1322, allocations: 0.752 MB / 305.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.1324, allocations: 217.5 kB / 305.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.1325, allocations: 8.609 kB / 305.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1326, allocations: 13.75 kB / 305.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.1327, allocations: 34.92 kB / 305.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1327, allocations: 13.31 kB / 305.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004782/0.1332, allocations: 0.5722 MB / 306.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1332, allocations: 0 / 306.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000627/0.1338, allocations: 223.1 kB / 306.5 MB, free: 14.14 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.0003922/0.1342, allocations: 332.5 kB / 306.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005186/0.1347, allocations: 0.7942 MB / 307.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1347, allocations: 0 / 307.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.135, allocations: 0.6814 MB / 308.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1354, allocations: 130 kB / 308.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1367, allocations: 1.47 MB / 309.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1368, allocations: 171.1 kB / 310.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.137, allocations: 96.39 kB / 310.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.1372, allocations: 222.7 kB / 310.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1372, allocations: 0 / 310.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Templates: time 0.01122/0.1485, allocations: 10.21 MB / 320.6 MB, free: 6.086 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 -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.766150671057403]