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.001088/0.001088, allocations: 85.8 kB / 21.42 MB, free: 3.074 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.001158/0.001158, allocations: 168.2 kB / 24.82 MB, free: 8.332 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.9257/0.9257, allocations: 177 MB / 205.1 MB, free: 5.496 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.212e-06/1.212e-06, allocations: 0 / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.505e-05, allocations: 6.312 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003992/0.004007, allocations: 4.94 MB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.00964, allocations: 6.305 MB / 284.5 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.01011, allocations: 67.31 kB / 284.6 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.01105, allocations: 468.7 kB / 285.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.01258, allocations: 0.8532 MB / 285.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.01342, allocations: 446.2 kB / 286.4 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.01544, allocations: 2.133 MB / 288.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.01566, allocations: 99.25 kB / 288.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.01623, allocations: 0.5064 MB / 289.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.01649, allocations: 239.1 kB / 289.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.01654, allocations: 28 kB / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.01721, allocations: 463.4 kB / 289.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.01728, allocations: 115.2 kB / 289.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.01746, allocations: 235.2 kB / 290.2 MB, free: 336 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1033/0.1207, allocations: 0.9834 MB / 291.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1207, allocations: 1.062 kB / 291.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1207, allocations: 0 / 291.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.1208, allocations: 0 / 291.1 MB, free: 17.48 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.00184/0.1226, allocations: 1.555 MB / 292.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1227, allocations: 17.02 kB / 292.7 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.123, allocations: 167.5 kB / 292.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1241, allocations: 0.8614 MB / 293.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1241, allocations: 13.47 kB / 293.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.1242, allocations: 24.78 kB / 293.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1246, allocations: 304.1 kB / 294.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1246, allocations: 2.188 kB / 294.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1246, allocations: 9.906 kB / 294.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1246, allocations: 5.969 kB / 294.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1248, allocations: 140.5 kB / 294.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.1261, allocations: 0.8884 MB / 295.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1264, allocations: 192.2 kB / 295.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.1267, allocations: 237.7 kB / 295.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005145/0.1273, allocations: 171 kB / 295.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1273, allocations: 44.03 kB / 295.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.325e-06/0.1273, allocations: 0 / 295.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001643/0.1289, allocations: 0.9975 MB / 296.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.129, allocations: 110.3 kB / 296.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009635/0.1299, allocations: 1.007 MB / 297.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.13, allocations: 31.48 kB / 297.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.1302, allocations: 444 kB / 298.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.1303, allocations: 137.9 kB / 298.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.1304, allocations: 122.4 kB / 298.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.1305, allocations: 499.1 kB / 299.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1306, allocations: 80.98 kB / 299.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1307, allocations: 154.4 kB / 299.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.131, allocations: 244.4 kB / 299.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.131, allocations: 2.797 kB / 299.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005463/0.1315, allocations: 449.7 kB / 300 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.1316, allocations: 44.34 kB / 300 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.1316, allocations: 12.88 kB / 300 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.1318, allocations: 70.42 kB / 300.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1319, allocations: 34.69 kB / 300.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.1333, allocations: 4.056 MB / 304.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1335, allocations: 11.25 kB / 304.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.1335, allocations: 16.77 kB / 304.2 MB, free: 9.535 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.0001663/0.1337, allocations: 219.2 kB / 304.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.1338, allocations: 137.8 kB / 304.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.1346, allocations: 0.5561 MB / 305.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1346, allocations: 4.031 kB / 305.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1346, allocations: 1.312 kB / 305.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1346, allocations: 1.641 kB / 305.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.1352, allocations: 432.2 kB / 305.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/0.1352, allocations: 12.45 kB / 305.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1353, allocations: 29.38 kB / 305.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.1354, allocations: 71.89 kB / 305.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.1355, allocations: 17.06 kB / 305.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.1367, allocations: 4.057 MB / 309.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1367, allocations: 2.953 kB / 309.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.1374, allocations: 0.7467 MB / 310.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.1377, allocations: 224.8 kB / 310.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.1378, allocations: 10.7 kB / 310.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.138, allocations: 10.02 kB / 310.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.1381, allocations: 35.09 kB / 310.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.1381, allocations: 15.69 kB / 310.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004709/0.1386, allocations: 0.5718 MB / 311.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1386, allocations: 0 / 311.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008202/0.1394, allocations: 226.7 kB / 311.6 MB, free: 4.465 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.0004765/0.1399, allocations: 329.9 kB / 311.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.1405, allocations: 0.7946 MB / 312.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1405, allocations: 0 / 312.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.1408, allocations: 0.6829 MB / 313.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.1414, allocations: 126.2 kB / 313.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.1429, allocations: 1.469 MB / 315 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.854e-05/0.143, allocations: 168 kB / 315.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.1432, allocations: 93.39 kB / 315.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.1434, allocations: 221.1 kB / 315.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1434, allocations: 3.188 kB / 315.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of Templates: time 0.01464/0.1581, allocations: 10.27 MB / 325.7 MB, free: 10.7 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.9884488130919635]