Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001866/0.001866, allocations: 111.9 kB / 19.17 MB, free: 3.91 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.001691/0.001691, allocations: 208.9 kB / 22.13 MB, free: 0.9609 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.501/1.501, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.2428/0.2428, 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12") [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.002224/0.002224, allocations: 83.88 kB / 0.4924 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1428, allocations: 65.99 MB / 0.5568 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003196/0.146, allocations: 1.598 MB / 0.5584 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1471, allocations: 0.5527 MB / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.1471, allocations: 4 kB / 0.5589 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1474, allocations: 27.83 kB / 0.559 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1476, allocations: 83.62 kB / 0.559 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.148, allocations: 111.7 kB / 0.5591 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1481, allocations: 63.83 kB / 0.5592 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1482, allocations: 8 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.1483, allocations: 23.92 kB / 0.5592 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.1484, allocations: 31.78 kB / 0.5593 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1484, allocations: 4 kB / 0.5593 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.1485, allocations: 31.98 kB / 0.5593 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.1485, allocations: 15.94 kB / 0.5593 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.1486, allocations: 27.8 kB / 0.5593 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1488, allocations: 83.59 kB / 0.5594 GB, free: 3.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1488, allocations: 4 kB / 0.5594 GB, free: 3.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1488, allocations: 0 / 0.5594 GB, free: 3.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1488, allocations: 0 / 0.5594 GB, free: 3.223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005408/0.1493, allocations: 394.9 kB / 0.5598 GB, free: 2.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1494, allocations: 12.02 kB / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1494, allocations: 16.78 kB / 0.5598 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1496, allocations: 191.6 kB / 0.56 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1496, allocations: 4.375 kB / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1496, allocations: 384 / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1498, allocations: 57.8 kB / 0.5601 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1498, allocations: 4 kB / 0.5601 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1498, allocations: 0 / 0.5601 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1498, allocations: 0 / 0.5601 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.1499, allocations: 27.98 kB / 0.5601 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.1504, allocations: 292.8 kB / 0.5604 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1506, allocations: 42.56 kB / 0.5604 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.1506, allocations: 16.94 kB / 0.5604 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1507, allocations: 7.984 kB / 0.5604 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1507, allocations: 34.56 kB / 0.5605 GB, free: 1.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1507, allocations: 0 / 0.5605 GB, free: 1.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006091/0.1513, allocations: 153.4 kB / 0.5606 GB, free: 1.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1513, allocations: 51.41 kB / 0.5607 GB, free: 1.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1515, allocations: 178.5 kB / 0.5608 GB, free: 1.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1516, allocations: 33.7 kB / 0.5609 GB, free: 1.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1516, allocations: 96.08 kB / 0.561 GB, free: 1.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1516, allocations: 19.83 kB / 0.561 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.1517, allocations: 21.66 kB / 0.561 GB, free: 1.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1518, allocations: 326.8 kB / 0.5613 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.1519, allocations: 19.98 kB / 0.5613 GB, free: 1.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.152, allocations: 19.98 kB / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1521, allocations: 56.83 kB / 0.5614 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1521, allocations: 0 / 0.5614 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.1523, allocations: 85.56 kB / 0.5615 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1523, allocations: 8 kB / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1523, allocations: 0 / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1524, allocations: 0 / 0.5615 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.1524, allocations: 15.92 kB / 0.5615 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1524, allocations: 4 kB / 0.5615 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.1525, allocations: 8 kB / 0.5615 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1525, allocations: 7.984 kB / 0.5615 GB, free: 0.8281 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 (5): * Single equations (assignments): 5 * 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 9.559e-05/0.1526, allocations: 117.8 kB / 0.5616 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.1526, allocations: 7.953 kB / 0.5616 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1529, allocations: 102.2 kB / 0.5617 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1529, allocations: 4 kB / 0.5617 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1529, allocations: 8.062 kB / 0.5618 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1529, allocations: 0 / 0.5618 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.1534, allocations: 358.4 kB / 0.5621 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1534, allocations: 0 / 0.5621 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.1534, allocations: 11.98 kB / 0.5621 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1534, allocations: 3.938 kB / 0.5621 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1534, allocations: 4 kB / 0.5621 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1535, allocations: 7.938 kB / 0.5621 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1535, allocations: 4 kB / 0.5621 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1537, allocations: 183.4 kB / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.1538, allocations: 85.02 kB / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1538, allocations: 0 / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1539, allocations: 11.92 kB / 0.5624 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1539, allocations: 8 kB / 0.5624 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1539, allocations: 4 kB / 0.5624 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1541, allocations: 139.9 kB / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1541, allocations: 0 / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1543, allocations: 15.94 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001473/0.1558, allocations: 408 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.156, allocations: 55.91 kB / 0.563 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.156, allocations: 4 kB / 0.563 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.1561, allocations: 27.97 kB / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1564, allocations: 12 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.157, allocations: 235.5 kB / 0.5633 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1573, allocations: 0.6963 MB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1573, allocations: 19.42 kB / 0.564 GB, free: 14.32 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1573, allocations: 4 kB / 0.564 GB, free: 14.31 MB / 430.1 MB Notification: Performance of Templates: time 0.003571/0.1609, allocations: 1.505 MB / 0.5654 GB, free: 12.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.101944226073101]