Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.2 kB / 18.45 MB, free: 4.594 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.001337/0.001337, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.534/1.534, allocations: 227.4 MB / 251.7 MB, free: 40 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.263/0.263, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 81.77 kB / 490.2 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1557, allocations: 62.44 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.00359/0.1593, allocations: 1.597 MB / 0.5413 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1604, allocations: 0.5332 MB / 0.5418 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.1605, allocations: 0 / 0.5418 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1608, allocations: 35.83 kB / 0.5418 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1611, allocations: 75.62 kB / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1614, allocations: 101.9 kB / 0.542 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1616, allocations: 51.91 kB / 0.542 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1617, allocations: 23.86 kB / 0.5421 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.1618, allocations: 15.94 kB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.1619, allocations: 31.78 kB / 0.5421 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1619, allocations: 0 / 0.5421 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.162, allocations: 31.98 kB / 0.5421 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.162, allocations: 15.92 kB / 0.5421 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.1621, allocations: 31.8 kB / 0.5422 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1623, allocations: 79.61 kB / 0.5422 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1623, allocations: 4 kB / 0.5423 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1623, allocations: 0 / 0.5423 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1623, allocations: 0 / 0.5423 GB, free: 1.586 MB / 398.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.0005545/0.1629, allocations: 398.9 kB / 0.5426 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1629, allocations: 12.02 kB / 0.5426 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.163, allocations: 12.84 kB / 0.5427 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1632, allocations: 195.4 kB / 0.5428 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1632, allocations: 4.375 kB / 0.5428 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1632, allocations: 4.375 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1634, allocations: 53.8 kB / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1634, allocations: 0 / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1634, allocations: 0 / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1634, allocations: 0 / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.1635, allocations: 19.98 kB / 0.5429 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1639, allocations: 280.8 kB / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1641, allocations: 46.66 kB / 0.5432 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.1642, allocations: 20.83 kB / 0.5433 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1642, allocations: 0 / 0.5433 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1643, allocations: 34.56 kB / 0.5433 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1643, allocations: 0 / 0.5433 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005762/0.1649, allocations: 153.3 kB / 0.5434 GB, free: 212 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1649, allocations: 51.41 kB / 0.5435 GB, free: 148 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1651, allocations: 170.6 kB / 0.5436 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1652, allocations: 37.58 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.1653, allocations: 100.1 kB / 0.5438 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1653, allocations: 15.84 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1653, allocations: 13.72 kB / 0.5438 GB, free: 15.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1655, allocations: 330.8 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.1656, allocations: 19.98 kB / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.1656, allocations: 15.98 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1658, allocations: 45.02 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1658, allocations: 4 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.166, allocations: 89.58 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.166, allocations: 4 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.166, allocations: 0 / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1661, allocations: 7.984 kB / 0.5443 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.1661, allocations: 11.94 kB / 0.5443 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1661, allocations: 0 / 0.5443 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.1662, allocations: 7.984 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1662, allocations: 0 / 0.5443 GB, free: 15.23 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 0.0001016/0.1663, allocations: 125.8 kB / 0.5444 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1663, allocations: 11.89 kB / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1666, allocations: 93.95 kB / 0.5445 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1666, allocations: 0 / 0.5445 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1666, allocations: 0 / 0.5445 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1666, allocations: 4 kB / 0.5445 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.1671, allocations: 354.3 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1671, allocations: 4 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1671, allocations: 12 kB / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1671, allocations: 0 / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1672, allocations: 0 / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1672, allocations: 3.938 kB / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1672, allocations: 3.984 kB / 0.5449 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1674, allocations: 179.6 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.1675, allocations: 89.08 kB / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1675, allocations: 4 kB / 0.5452 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1676, allocations: 15.92 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1676, allocations: 0 / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1676, allocations: 7.938 kB / 0.5452 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1678, allocations: 139.9 kB / 0.5453 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1678, allocations: 0 / 0.5453 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.168, allocations: 12 kB / 0.5453 GB, free: 14.09 MB / 414.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.001455/0.1695, allocations: 394.5 kB / 0.5457 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1697, allocations: 47.91 kB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1697, allocations: 4 kB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.1698, allocations: 24.11 kB / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1701, allocations: 26.73 kB / 0.5458 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.1706, allocations: 198 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.171, allocations: 0.6963 MB / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.171, allocations: 11.77 kB / 0.5467 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1711, allocations: 15.42 kB / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1711, allocations: 0 / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004065/0.1752, allocations: 1.128 MB / 0.5478 GB, free: 11.65 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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: 5.284150625579059]