Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001294/0.001294, allocations: 117.4 kB / 19.18 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.001347/0.001347, allocations: 206.5 kB / 22.13 MB, free: 0.9258 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.479/1.479, allocations: 230.3 MB / 255.2 MB, free: 15.18 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.2302/0.2302, allocations: 46.93 MB / 358.2 MB, free: 10.41 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") [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.002384/0.002384, allocations: 88.12 kB / 0.4925 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1397, allocations: 65.99 MB / 0.557 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003194/0.1429, allocations: 1.626 MB / 0.5586 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.144, allocations: 0.541 MB / 0.5591 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.144, allocations: 4 kB / 0.5591 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1443, allocations: 95.69 kB / 0.5592 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1446, allocations: 111.6 kB / 0.5593 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1449, allocations: 98.89 kB / 0.5594 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.145, allocations: 87.75 kB / 0.5595 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1451, allocations: 15.97 kB / 0.5595 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.1452, allocations: 39.84 kB / 0.5595 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1453, allocations: 55.81 kB / 0.5596 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1453, allocations: 4 kB / 0.5596 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.1454, allocations: 47.92 kB / 0.5596 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.1455, allocations: 23.92 kB / 0.5597 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.1455, allocations: 39.72 kB / 0.5597 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1457, allocations: 111.5 kB / 0.5598 GB, free: 2.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1457, allocations: 0 / 0.5598 GB, free: 2.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1457, allocations: 3.938 kB / 0.5598 GB, free: 2.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1457, allocations: 4 kB / 0.5598 GB, free: 2.602 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.0005687/0.1463, allocations: 422.7 kB / 0.5602 GB, free: 2.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1464, allocations: 8.031 kB / 0.5602 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1464, allocations: 16.78 kB / 0.5602 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1466, allocations: 200.1 kB / 0.5604 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1466, allocations: 4.375 kB / 0.5604 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1466, allocations: 4.328 kB / 0.5604 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1468, allocations: 62.22 kB / 0.5605 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1468, allocations: 4.188 kB / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1468, allocations: 3.938 kB / 0.5605 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1468, allocations: 0 / 0.5605 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1469, allocations: 23.98 kB / 0.5605 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1473, allocations: 304.7 kB / 0.5608 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1474, allocations: 42.55 kB / 0.5609 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.1475, allocations: 16.95 kB / 0.5609 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1475, allocations: 7.984 kB / 0.5609 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1476, allocations: 30.56 kB / 0.5609 GB, free: 1.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1476, allocations: 3.938 kB / 0.5609 GB, free: 1.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008827/0.1484, allocations: 229.3 kB / 0.5611 GB, free: 1.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1485, allocations: 55.41 kB / 0.5612 GB, free: 1.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1487, allocations: 223.5 kB / 0.5614 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.1488, allocations: 33.7 kB / 0.5614 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.1489, allocations: 108.1 kB / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1489, allocations: 23.81 kB / 0.5616 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1489, allocations: 21.7 kB / 0.5616 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1491, allocations: 330.8 kB / 0.5619 GB, free: 252 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.1492, allocations: 27.98 kB / 0.5619 GB, free: 224 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.1493, allocations: 19.98 kB / 0.5619 GB, free: 204 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1494, allocations: 65.05 kB / 0.562 GB, free: 136 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1494, allocations: 0 / 0.562 GB, free: 136 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002282/0.1497, allocations: 113.5 kB / 0.5621 GB, free: 16 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1497, allocations: 4 kB / 0.5621 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1497, allocations: 0 / 0.5621 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1497, allocations: 4 kB / 0.5621 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1498, allocations: 16.05 kB / 0.5621 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1498, allocations: 3.938 kB / 0.5621 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1499, allocations: 4 kB / 0.5621 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1499, allocations: 4 kB / 0.5621 GB, free: 15.98 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.0001088/0.15, allocations: 137.7 kB / 0.5623 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.1501, allocations: 7.953 kB / 0.5623 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.1504, allocations: 126.9 kB / 0.5624 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1504, allocations: 7.938 kB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1504, allocations: 4 kB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1504, allocations: 0 / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.1509, allocations: 415.2 kB / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1509, allocations: 0 / 0.5628 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.151, allocations: 19.98 kB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.151, allocations: 0 / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.151, allocations: 3.938 kB / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.151, allocations: 4 kB / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.151, allocations: 0 / 0.5628 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.1513, allocations: 212.2 kB / 0.563 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.1514, allocations: 85.06 kB / 0.5631 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1514, allocations: 3.938 kB / 0.5631 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.1515, allocations: 4 kB / 0.5631 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1515, allocations: 11.98 kB / 0.5631 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1515, allocations: 0 / 0.5631 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1517, allocations: 179.5 kB / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1517, allocations: 4 kB / 0.5633 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1519, allocations: 23.95 kB / 0.5633 GB, free: 14.64 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.001686/0.1536, allocations: 458.5 kB / 0.5638 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1538, allocations: 63.95 kB / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1538, allocations: 0 / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.154, allocations: 35.92 kB / 0.5639 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1543, allocations: 19.73 kB / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.1549, allocations: 296.6 kB / 0.5642 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1553, allocations: 0.7185 MB / 0.5649 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.1553, allocations: 15.44 kB / 0.5649 GB, free: 13.15 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1553, allocations: 0 / 0.5649 GB, free: 13.15 MB / 430.1 MB Notification: Performance of Templates: time 0.003789/0.1591, allocations: 1.813 MB / 0.5667 GB, free: 11.33 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.561757780000335]