Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001746/0.001746, allocations: 113.7 kB / 19.17 MB, free: 3.871 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.00224/0.00224, allocations: 205 kB / 22.12 MB, free: 0.9219 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.534/1.534, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2403/0.2403, allocations: 46.92 MB / 358.2 MB, free: 10.5 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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24") [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.002369/0.002369, allocations: 75.88 kB / 0.4925 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 66 MB / 0.557 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003561/0.1329, allocations: 1.692 MB / 0.5586 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.134, allocations: 0.5605 MB / 0.5592 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.134, allocations: 0 / 0.5592 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1343, allocations: 43.81 kB / 0.5592 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1346, allocations: 95.59 kB / 0.5593 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1349, allocations: 135.2 kB / 0.5595 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1351, allocations: 83.8 kB / 0.5595 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1352, allocations: 16.17 kB / 0.5596 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.1353, allocations: 35.89 kB / 0.5596 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1354, allocations: 43.78 kB / 0.5596 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1354, allocations: 4 kB / 0.5596 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1355, allocations: 59.91 kB / 0.5597 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.1356, allocations: 19.92 kB / 0.5597 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.1357, allocations: 35.8 kB / 0.5597 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1359, allocations: 103.6 kB / 0.5598 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1359, allocations: 0 / 0.5598 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1359, allocations: 0 / 0.5598 GB, free: 2.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1359, allocations: 0 / 0.5598 GB, free: 2.648 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006581/0.1366, allocations: 426.6 kB / 0.5602 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1366, allocations: 8.031 kB / 0.5603 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1367, allocations: 8.891 kB / 0.5603 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1369, allocations: 203.6 kB / 0.5605 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-06/0.1369, allocations: 4.375 kB / 0.5605 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1369, allocations: 4.375 kB / 0.5605 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1371, allocations: 69.73 kB / 0.5605 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1371, allocations: 4 kB / 0.5605 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1371, allocations: 0 / 0.5605 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1371, allocations: 3.938 kB / 0.5605 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1373, allocations: 43.94 kB / 0.5606 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1377, allocations: 300.8 kB / 0.5609 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.138, allocations: 54.58 kB / 0.5609 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.138, allocations: 24.97 kB / 0.5609 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1381, allocations: 0 / 0.5609 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1381, allocations: 42.56 kB / 0.561 GB, free: 1.312 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1381, allocations: 0 / 0.561 GB, free: 1.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.1396, allocations: 385.4 kB / 0.5614 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1397, allocations: 55.34 kB / 0.5614 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1399, allocations: 178.4 kB / 0.5616 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1399, allocations: 37.64 kB / 0.5616 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.14, allocations: 100.1 kB / 0.5617 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.14, allocations: 43.67 kB / 0.5617 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.1401, allocations: 25.7 kB / 0.5618 GB, free: 468 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1402, allocations: 318.8 kB / 0.5621 GB, free: 140 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1404, allocations: 43.97 kB / 0.5621 GB, free: 96 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1405, allocations: 44.16 kB / 0.5622 GB, free: 52 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1408, allocations: 100.8 kB / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1408, allocations: 0 / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.1412, allocations: 145.5 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1412, allocations: 8 kB / 0.5624 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1412, allocations: 4 kB / 0.5624 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1412, allocations: 3.938 kB / 0.5624 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1413, allocations: 27.92 kB / 0.5624 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1413, allocations: 3.984 kB / 0.5624 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.1414, allocations: 15.98 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1414, allocations: 0 / 0.5625 GB, free: 15.74 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 (11): * Single equations (assignments): 11 * 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.0001161/0.1415, allocations: 125.8 kB / 0.5626 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.1416, allocations: 15.95 kB / 0.5626 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.142, allocations: 158.7 kB / 0.5627 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.142, allocations: 11.88 kB / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.142, allocations: 0 / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.142, allocations: 0 / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.1428, allocations: 479.9 kB / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1428, allocations: 0 / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1429, allocations: 23.98 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1429, allocations: 0 / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1429, allocations: 4 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1429, allocations: 0 / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1429, allocations: 0 / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.1434, allocations: 265.1 kB / 0.5635 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1434, allocations: 85.06 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1435, allocations: 3.984 kB / 0.5636 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1436, allocations: 16 kB / 0.5636 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1436, allocations: 11.92 kB / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.1436, allocations: 4 kB / 0.5636 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1437, allocations: 139.9 kB / 0.5637 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1437, allocations: 0 / 0.5637 GB, free: 14.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.144, allocations: 27.94 kB / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001718/0.1457, allocations: 459.8 kB / 0.5642 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1461, allocations: 99.92 kB / 0.5643 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1461, allocations: 7.938 kB / 0.5643 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.1462, allocations: 55.91 kB / 0.5644 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1466, allocations: 23.86 kB / 0.5644 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.1472, allocations: 301 kB / 0.5647 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1476, allocations: 0.712 MB / 0.5654 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.1477, allocations: 19.42 kB / 0.5654 GB, free: 12.71 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1477, allocations: 0 / 0.5654 GB, free: 12.71 MB / 430.1 MB Notification: Performance of Templates: time 0.004156/0.1518, allocations: 1.911 MB / 0.5673 GB, free: 10.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.634287936001783]