Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001445/0.001445, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001614/0.001614, allocations: 205 kB / 21.4 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.704/1.704, allocations: 227.4 MB / 251.7 MB, free: 264 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.2393/0.2393, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.002421, allocations: 81.84 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1389, allocations: 62.45 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003501/0.1425, allocations: 1.584 MB / 0.5413 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1445, allocations: 1.175 MB / 0.5424 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1446, allocations: 0 / 0.5424 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.1448, allocations: 23.86 kB / 0.5424 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.1452, allocations: 87.61 kB / 0.5425 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1455, allocations: 114.6 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1457, allocations: 67.83 kB / 0.5427 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1458, allocations: 15.94 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.1459, allocations: 27.91 kB / 0.5427 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1461, allocations: 39.78 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1461, allocations: 0 / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1463, allocations: 91.94 kB / 0.5428 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.1464, allocations: 19.91 kB / 0.5429 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.1464, allocations: 27.81 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1467, allocations: 139.5 kB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1467, allocations: 0 / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1467, allocations: 4 kB / 0.543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1467, allocations: 0 / 0.543 GB, free: 0.7891 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.000612/0.1474, allocations: 402.8 kB / 0.5434 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1474, allocations: 8.031 kB / 0.5434 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1475, allocations: 12.83 kB / 0.5434 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1477, allocations: 194 kB / 0.5436 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1478, allocations: 12.31 kB / 0.5436 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1478, allocations: 384 / 0.5436 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.148, allocations: 67.89 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.148, allocations: 192 / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.148, allocations: 7.938 kB / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.148, allocations: 0 / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1482, allocations: 24.05 kB / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1486, allocations: 288.9 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.1489, allocations: 46.5 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.1489, allocations: 20.94 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.149, allocations: 4 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.149, allocations: 30.56 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.149, allocations: 4 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006176/0.1496, allocations: 157.3 kB / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.1497, allocations: 77.11 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1499, allocations: 143.5 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1499, allocations: 29.7 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.15, allocations: 92.12 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.15, allocations: 19.86 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1501, allocations: 17.72 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1502, allocations: 326.8 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.1503, allocations: 19.98 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.1504, allocations: 37.62 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1506, allocations: 57.05 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1506, allocations: 4 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002046/0.1508, allocations: 81.62 kB / 0.5451 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1508, allocations: 8 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1508, allocations: 3.984 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1509, allocations: 0 / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.1509, allocations: 8 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.1509, allocations: 7.938 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.151, allocations: 7.922 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.151, allocations: 8 kB / 0.5452 GB, free: 14.36 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.0001195/0.1511, allocations: 117.8 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1512, allocations: 7.953 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.1515, allocations: 97.94 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1515, allocations: 4 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1515, allocations: 3.938 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1515, allocations: 0 / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.152, allocations: 370.3 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.152, allocations: 3.938 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.1521, allocations: 15.98 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1521, allocations: 0 / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1521, allocations: 0 / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1521, allocations: 0 / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1521, allocations: 3.938 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1524, allocations: 191.6 kB / 0.5459 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.1525, allocations: 81.12 kB / 0.546 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1525, allocations: 8 kB / 0.546 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.1526, allocations: 7.984 kB / 0.546 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1526, allocations: 3.938 kB / 0.546 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1526, allocations: 0 / 0.546 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1528, allocations: 116.8 kB / 0.5461 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1528, allocations: 4 kB / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1531, allocations: 35.88 kB / 0.5462 GB, free: 13.2 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.001856/0.1549, allocations: 483.2 kB / 0.5466 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1552, allocations: 51.95 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.1552, allocations: 0 / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.1553, allocations: 35.86 kB / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1557, allocations: 15.98 kB / 0.5467 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.1563, allocations: 177.4 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.1567, allocations: 0.6885 MB / 0.5476 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.46e-05/0.1568, allocations: 23.75 kB / 0.5476 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.1569, allocations: 19.42 kB / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1569, allocations: 4 kB / 0.5476 GB, free: 11.83 MB / 414.1 MB Notification: Performance of Templates: time 0.005045/0.1619, allocations: 1.762 MB / 0.5494 GB, free: 10.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.341320891864598]