Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001736/0.001736, allocations: 114.9 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.001922/0.001922, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.533/1.533, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.2344/0.2344, allocations: 46.89 MB / 358.1 MB, free: 10.51 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") [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.002451/0.002451, allocations: 75.88 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1403, allocations: 66 MB / 0.5568 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003529/0.1438, allocations: 1.679 MB / 0.5585 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1449, allocations: 0.5683 MB / 0.559 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.1449, allocations: 0 / 0.559 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.1455, allocations: 451.1 kB / 0.5595 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.1461, allocations: 299.3 kB / 0.5597 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1464, allocations: 131.1 kB / 0.5599 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.1467, allocations: 171.7 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1468, allocations: 24.22 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.147, allocations: 111.7 kB / 0.5602 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.1473, allocations: 255.5 kB / 0.5604 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1473, allocations: 7.938 kB / 0.5604 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1474, allocations: 55.91 kB / 0.5605 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.1475, allocations: 83.69 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.162e-05/0.1476, allocations: 103 kB / 0.5606 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.148, allocations: 282.5 kB / 0.5609 GB, free: 1.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.148, allocations: 4 kB / 0.5609 GB, free: 1.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.148, allocations: 0 / 0.5609 GB, free: 1.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.148, allocations: 0 / 0.5609 GB, free: 1.68 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.0008657/0.1489, allocations: 0.6685 MB / 0.5616 GB, free: 0.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1489, allocations: 8.031 kB / 0.5616 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.652e-05/0.149, allocations: 52.59 kB / 0.5616 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1493, allocations: 296.6 kB / 0.5619 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1493, allocations: 4.375 kB / 0.5619 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1493, allocations: 8.375 kB / 0.5619 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1495, allocations: 70.16 kB / 0.562 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1496, allocations: 192 / 0.562 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1496, allocations: 3.938 kB / 0.562 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1496, allocations: 0 / 0.562 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1497, allocations: 43.95 kB / 0.562 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.1503, allocations: 408.5 kB / 0.5624 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1505, allocations: 54.55 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.1506, allocations: 20.97 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1506, allocations: 4 kB / 0.5625 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1506, allocations: 38.56 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.624e-06/0.1506, allocations: 0 / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001598/0.1522, allocations: 484.3 kB / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1523, allocations: 51.41 kB / 0.5631 GB, free: 15.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1534, allocations: 0.8652 MB / 0.5639 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1534, allocations: 29.7 kB / 0.5639 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1536, allocations: 216 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.1536, allocations: 39.69 kB / 0.5642 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.1537, allocations: 21.72 kB / 0.5642 GB, free: 14.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1539, allocations: 362.8 kB / 0.5645 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.154, allocations: 39.97 kB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1541, allocations: 43.97 kB / 0.5646 GB, free: 13.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1544, allocations: 100.8 kB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1544, allocations: 3.938 kB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003846/0.1548, allocations: 181.2 kB / 0.5649 GB, free: 13.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1548, allocations: 4 kB / 0.5649 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1548, allocations: 0 / 0.5649 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1548, allocations: 0 / 0.5649 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.155, allocations: 31.97 kB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.155, allocations: 0 / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.155, allocations: 19.92 kB / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1551, allocations: 4 kB / 0.5649 GB, free: 13.32 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.0002743/0.1553, allocations: 217.7 kB / 0.5652 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.1554, allocations: 47.67 kB / 0.5652 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.1559, allocations: 206.3 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1559, allocations: 0 / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1559, allocations: 0 / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1559, allocations: 3.938 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/0.1567, allocations: 0.5702 MB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1567, allocations: 0 / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1568, allocations: 35.92 kB / 0.566 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1568, allocations: 0 / 0.566 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1569, allocations: 0 / 0.566 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1569, allocations: 4 kB / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1569, allocations: 3.938 kB / 0.566 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.1573, allocations: 289 kB / 0.5663 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1574, allocations: 116.8 kB / 0.5664 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1574, allocations: 3.984 kB / 0.5664 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1575, allocations: 8 kB / 0.5664 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.1576, allocations: 15.98 kB / 0.5664 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1576, allocations: 4 kB / 0.5664 GB, free: 11.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.1583, allocations: 0.6511 MB / 0.5671 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1583, allocations: 3.938 kB / 0.5671 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1586, allocations: 35.89 kB / 0.5671 GB, free: 11 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.001722/0.1603, allocations: 463.3 kB / 0.5675 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.1607, allocations: 103.9 kB / 0.5676 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1607, allocations: 0 / 0.5676 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1608, allocations: 56.03 kB / 0.5677 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1613, allocations: 38.05 kB / 0.5677 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1627, allocations: 0.8957 MB / 0.5686 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.1633, allocations: 0.826 MB / 0.5694 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1633, allocations: 19.44 kB / 0.5694 GB, free: 8.727 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1633, allocations: 3.938 kB / 0.5694 GB, free: 8.723 MB / 430.1 MB Notification: Performance of Templates: time 0.008963/0.1723, allocations: 4.1 MB / 0.5734 GB, free: 4.613 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.985537823056802]