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.001859/0.001859, allocations: 111.8 kB / 19.17 MB, free: 3.891 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.002046/0.002046, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.584/1.584, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.2262/0.2262, allocations: 46.89 MB / 358.1 MB, free: 10.53 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.002328/0.002328, allocations: 79.88 kB / 0.4924 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1316, allocations: 65.98 MB / 0.5568 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003644/0.1352, allocations: 1.688 MB / 0.5585 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1363, allocations: 0.5644 MB / 0.559 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.1364, allocations: 0 / 0.559 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1366, allocations: 43.8 kB / 0.5591 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.137, allocations: 91.61 kB / 0.5592 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1374, allocations: 135.2 kB / 0.5593 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1376, allocations: 79.81 kB / 0.5594 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1377, allocations: 24.16 kB / 0.5594 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1378, allocations: 23.92 kB / 0.5594 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1379, allocations: 51.81 kB / 0.5595 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1379, allocations: 4 kB / 0.5595 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.138, allocations: 51.92 kB / 0.5595 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.1381, allocations: 23.91 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.1382, allocations: 31.69 kB / 0.5596 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1384, allocations: 107.6 kB / 0.5597 GB, free: 3.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1384, allocations: 4 kB / 0.5597 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1384, allocations: 4 kB / 0.5597 GB, free: 3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1384, allocations: 0 / 0.5597 GB, free: 3 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.0006055/0.139, allocations: 414.7 kB / 0.5601 GB, free: 2.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.139, allocations: 11.97 kB / 0.5601 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1391, allocations: 12.89 kB / 0.5601 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1393, allocations: 196.7 kB / 0.5603 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1393, allocations: 384 / 0.5603 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1394, allocations: 4.375 kB / 0.5603 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1396, allocations: 77.78 kB / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1396, allocations: 0 / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1396, allocations: 0 / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1396, allocations: 0 / 0.5604 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1397, allocations: 39.91 kB / 0.5604 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1402, allocations: 304.8 kB / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1404, allocations: 62.58 kB / 0.5607 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.1405, allocations: 20.97 kB / 0.5608 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1405, allocations: 4 kB / 0.5608 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1406, allocations: 30.56 kB / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1406, allocations: 0 / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001512/0.1421, allocations: 405 kB / 0.5612 GB, free: 1.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.1421, allocations: 55.34 kB / 0.5612 GB, free: 1.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1423, allocations: 170.5 kB / 0.5614 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1423, allocations: 33.7 kB / 0.5614 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.1424, allocations: 96.12 kB / 0.5615 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.1425, allocations: 43.62 kB / 0.5616 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1425, allocations: 29.66 kB / 0.5616 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1427, allocations: 326.8 kB / 0.5619 GB, free: 500 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1428, allocations: 39.97 kB / 0.5619 GB, free: 460 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1429, allocations: 39.97 kB / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.1432, allocations: 104.8 kB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1432, allocations: 0 / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003389/0.1435, allocations: 141.5 kB / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1435, allocations: 8 kB / 0.5622 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1435, allocations: 7.922 kB / 0.5622 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1436, allocations: 0 / 0.5622 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1437, allocations: 31.86 kB / 0.5623 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1437, allocations: 4 kB / 0.5623 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.1438, allocations: 15.98 kB / 0.5623 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1438, allocations: 4 kB / 0.5623 GB, free: 92 kB / 414.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.0001285/0.1439, allocations: 121.8 kB / 0.5624 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1439, allocations: 7.953 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.1443, allocations: 174.2 kB / 0.5626 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1444, allocations: 3.938 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1444, allocations: 0.5625 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1444, allocations: 0 / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.1451, allocations: 476 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1451, allocations: 3.938 kB / 0.563 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1452, allocations: 31.97 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1452, allocations: 4 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1452, allocations: 0 / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1452, allocations: 0 / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1452, allocations: 4 kB / 0.5631 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.1456, allocations: 257 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1457, allocations: 85.06 kB / 0.5634 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1457, allocations: 0 / 0.5634 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.1458, allocations: 11.98 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.1458, allocations: 11.98 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1458, allocations: 8 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.146, allocations: 135.9 kB / 0.5636 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.146, allocations: 0 / 0.5636 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1462, allocations: 31.88 kB / 0.5636 GB, free: 14.63 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.001708/0.1479, allocations: 459.1 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.1483, allocations: 99.88 kB / 0.5641 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1483, allocations: 0 / 0.5641 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1484, allocations: 51.91 kB / 0.5642 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1488, allocations: 28.05 kB / 0.5642 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.1495, allocations: 312.9 kB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1499, allocations: 0.7042 MB / 0.5652 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.1499, allocations: 23.44 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1499, allocations: 3.938 kB / 0.5652 GB, free: 13.08 MB / 430.1 MB Notification: Performance of Templates: time 0.00431/0.1542, allocations: 1.904 MB / 0.5671 GB, free: 11.17 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.747137982165441]