Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001484/0.001484, allocations: 119.3 kB / 19.17 MB, free: 3.852 MB / 14.72 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.001681/0.001681, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 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 1.504/1.504, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.92 MB / 358.2 MB, free: 10.43 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 87.84 kB / 0.4925 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1265, allocations: 66 MB / 0.557 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002784/0.1293, allocations: 1.62 MB / 0.5586 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009553/0.1303, allocations: 0.5449 MB / 0.5591 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.1303, allocations: 0 / 0.5591 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1306, allocations: 103.7 kB / 0.5592 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1309, allocations: 127.6 kB / 0.5593 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1311, allocations: 91.12 kB / 0.5594 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1313, allocations: 91.75 kB / 0.5595 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1314, allocations: 19.91 kB / 0.5595 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.1314, allocations: 39.84 kB / 0.5596 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1316, allocations: 71.8 kB / 0.5596 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1316, allocations: 4 kB / 0.5596 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.1317, allocations: 47.91 kB / 0.5597 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.1317, allocations: 23.92 kB / 0.5597 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1318, allocations: 43.67 kB / 0.5597 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.132, allocations: 123.4 kB / 0.5599 GB, free: 2.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.132, allocations: 7.984 kB / 0.5599 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.132, allocations: 0 / 0.5599 GB, free: 2.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.132, allocations: 0 / 0.5599 GB, free: 2.578 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005115/0.1325, allocations: 426.6 kB / 0.5603 GB, free: 2.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1325, allocations: 8.031 kB / 0.5603 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1326, allocations: 16.88 kB / 0.5603 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1328, allocations: 204.9 kB / 0.5605 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1328, allocations: 8.359 kB / 0.5605 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1328, allocations: 4.375 kB / 0.5605 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1329, allocations: 54.19 kB / 0.5606 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1329, allocations: 4.141 kB / 0.5606 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1329, allocations: 3.938 kB / 0.5606 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1329, allocations: 4 kB / 0.5606 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.133, allocations: 23.97 kB / 0.5606 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1334, allocations: 304.8 kB / 0.5609 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1335, allocations: 42.5 kB / 0.5609 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.1336, allocations: 20.92 kB / 0.5609 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1336, allocations: 0 / 0.5609 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1336, allocations: 34.56 kB / 0.561 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1336, allocations: 3.938 kB / 0.561 GB, free: 1.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008414/0.1345, allocations: 229.2 kB / 0.5612 GB, free: 1.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1345, allocations: 55.39 kB / 0.5613 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1348, allocations: 254.1 kB / 0.5615 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1348, allocations: 25.7 kB / 0.5615 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1349, allocations: 116.1 kB / 0.5616 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1349, allocations: 31.73 kB / 0.5617 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1349, allocations: 21.72 kB / 0.5617 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1351, allocations: 330.7 kB / 0.562 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.1352, allocations: 24.06 kB / 0.562 GB, free: 156 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.1353, allocations: 31.95 kB / 0.5621 GB, free: 124 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1354, allocations: 57.08 kB / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1354, allocations: 7.984 kB / 0.5621 GB, free: 56 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002426/0.1357, allocations: 101.6 kB / 0.5622 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1357, allocations: 8 kB / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.1357, allocations: 0 / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1357, allocations: 0 / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.1358, allocations: 19.92 kB / 0.5622 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1358, allocations: 4 kB / 0.5622 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.1358, allocations: 11.92 kB / 0.5623 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1358, allocations: 4 kB / 0.5623 GB, free: 15.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.136, allocations: 133.8 kB / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.136, allocations: 15.91 kB / 0.5624 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1363, allocations: 115 kB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1363, allocations: 4 kB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1363, allocations: 0 / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1363, allocations: 3.938 kB / 0.5625 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.1368, allocations: 415.2 kB / 0.5629 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1368, allocations: 4 kB / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.1369, allocations: 19.98 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1369, allocations: 0 / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1369, allocations: 11.88 kB / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1369, allocations: 0 / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1369, allocations: 0 / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1372, allocations: 212.2 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1373, allocations: 85.06 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1373, allocations: 11.92 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1374, allocations: 8 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1374, allocations: 7.984 kB / 0.5633 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1374, allocations: 4 kB / 0.5633 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1376, allocations: 188.4 kB / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1376, allocations: 0 / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1378, allocations: 23.94 kB / 0.5635 GB, free: 14.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.1395, allocations: 447.3 kB / 0.5639 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1397, allocations: 71.86 kB / 0.564 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1397, allocations: 0 / 0.564 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.1398, allocations: 35.92 kB / 0.564 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1401, allocations: 23.67 kB / 0.564 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.1407, allocations: 316.8 kB / 0.5643 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1411, allocations: 0.7145 MB / 0.565 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1411, allocations: 19.42 kB / 0.565 GB, free: 13.04 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1411, allocations: 0 / 0.565 GB, free: 13.04 MB / 430.1 MB Notification: Performance of Templates: time 0.003607/0.1447, allocations: 1.841 MB / 0.5668 GB, free: 11.19 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.59898345900001]