Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001636/0.001636, allocations: 112.9 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.002075/0.002075, allocations: 210.5 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.528/1.528, allocations: 230.2 MB / 255.1 MB, free: 15.38 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.2423/0.2423, allocations: 46.88 MB / 358.1 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6") [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.002236/0.002236, allocations: 86.2 kB / 0.4924 GB, free: 26.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1299, allocations: 65.98 MB / 0.5568 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003292/0.1332, allocations: 1.659 MB / 0.5584 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1343, allocations: 0.5683 MB / 0.559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.1344, allocations: 0 / 0.559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1347, allocations: 99.67 kB / 0.5591 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1351, allocations: 115.6 kB / 0.5592 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1354, allocations: 107.7 kB / 0.5593 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1356, allocations: 103.7 kB / 0.5594 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1357, allocations: 23.92 kB / 0.5594 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.1358, allocations: 47.83 kB / 0.5595 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1359, allocations: 67.8 kB / 0.5595 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1359, allocations: 4 kB / 0.5595 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1361, allocations: 51.98 kB / 0.5596 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.1361, allocations: 31.8 kB / 0.5596 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.1362, allocations: 47.66 kB / 0.5597 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1364, allocations: 123.5 kB / 0.5598 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1364, allocations: 0 / 0.5598 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1364, allocations: 0 / 0.5598 GB, free: 5.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1364, allocations: 0 / 0.5598 GB, free: 5.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006302/0.1371, allocations: 442.5 kB / 0.5602 GB, free: 5.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1371, allocations: 8.031 kB / 0.5602 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.1372, allocations: 16.84 kB / 0.5602 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1374, allocations: 220.1 kB / 0.5604 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1374, allocations: 4.375 kB / 0.5604 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1375, allocations: 4.375 kB / 0.5605 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1376, allocations: 74.11 kB / 0.5605 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1377, allocations: 8.125 kB / 0.5605 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1377, allocations: 11.92 kB / 0.5605 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1377, allocations: 4 kB / 0.5605 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1378, allocations: 43.91 kB / 0.5606 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.1383, allocations: 344.7 kB / 0.5609 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1385, allocations: 66.48 kB / 0.561 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.1386, allocations: 24.84 kB / 0.561 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1386, allocations: 0 / 0.561 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1386, allocations: 38.56 kB / 0.561 GB, free: 4.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.1386, allocations: 0 / 0.561 GB, free: 4.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001151/0.1398, allocations: 329.7 kB / 0.5614 GB, free: 3.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1398, allocations: 55.34 kB / 0.5614 GB, free: 3.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1401, allocations: 247.4 kB / 0.5616 GB, free: 3.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1401, allocations: 29.7 kB / 0.5617 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.1402, allocations: 116 kB / 0.5618 GB, free: 3.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.1402, allocations: 47.62 kB / 0.5618 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1403, allocations: 25.72 kB / 0.5619 GB, free: 3.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1405, allocations: 334.8 kB / 0.5622 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1406, allocations: 47.91 kB / 0.5622 GB, free: 2.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.1407, allocations: 47.97 kB / 0.5623 GB, free: 2.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1409, allocations: 104.8 kB / 0.5624 GB, free: 2.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1409, allocations: 0 / 0.5624 GB, free: 2.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002955/0.1412, allocations: 153.7 kB / 0.5625 GB, free: 2.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1412, allocations: 8 kB / 0.5625 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1412, allocations: 0 / 0.5625 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1412, allocations: 0 / 0.5625 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1414, allocations: 31.92 kB / 0.5625 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.1414, allocations: 3.938 kB / 0.5625 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.1414, allocations: 11.98 kB / 0.5626 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1414, allocations: 4 kB / 0.5626 GB, free: 2.57 MB / 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 (13): * Single equations (assignments): 13 * 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.0001375/0.1416, allocations: 133.8 kB / 0.5627 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1416, allocations: 11.91 kB / 0.5627 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.142, allocations: 197.7 kB / 0.5629 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.142, allocations: 4 kB / 0.5629 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.142, allocations: 3.938 kB / 0.5629 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1421, allocations: 3.984 kB / 0.5629 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.1428, allocations: 499.1 kB / 0.5634 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1428, allocations: 0 / 0.5634 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.1429, allocations: 27.98 kB / 0.5634 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1429, allocations: 8.031 kB / 0.5634 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1429, allocations: 0 / 0.5634 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1429, allocations: 0 / 0.5634 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1429, allocations: 3.938 kB / 0.5634 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1432, allocations: 256.2 kB / 0.5637 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1433, allocations: 89.02 kB / 0.5637 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1433, allocations: 4 kB / 0.5638 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.1434, allocations: 8 kB / 0.5638 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1434, allocations: 11.98 kB / 0.5638 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1434, allocations: 0 / 0.5638 GB, free: 1.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1436, allocations: 185.2 kB / 0.5639 GB, free: 1.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1436, allocations: 0 / 0.5639 GB, free: 1.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1439, allocations: 27.94 kB / 0.564 GB, free: 1.016 MB / 414.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 (13): * Single equations (assignments): 13 * 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.001703/0.1456, allocations: 463.6 kB / 0.5644 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.1459, allocations: 111.5 kB / 0.5645 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1459, allocations: 0 / 0.5645 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.146, allocations: 63.91 kB / 0.5646 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.1464, allocations: 27.67 kB / 0.5646 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.1471, allocations: 357.5 kB / 0.5649 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1476, allocations: 0.7197 MB / 0.5657 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.1476, allocations: 23.42 kB / 0.5657 GB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1476, allocations: 0 / 0.5657 GB, free: 15.38 MB / 430.1 MB Notification: Performance of Templates: time 0.004567/0.1522, allocations: 2.173 MB / 0.5678 GB, free: 13.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 8.050107215065509]