Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.001291, allocations: 96.05 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 185.5 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.25 MB / 337.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001975/0.1339, allocations: 1.251 MB / 472.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006997/0.1347, allocations: 371.7 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.1347, allocations: 3.938 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.1349, allocations: 15.92 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1351, allocations: 31.91 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1353, allocations: 71.48 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1354, allocations: 51.83 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.1356, allocations: 8 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.1356, allocations: 19.92 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.1357, allocations: 15.86 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1357, allocations: 3.938 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.1358, allocations: 24 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.1358, allocations: 15.91 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.1359, allocations: 33.7 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.136, allocations: 51.92 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.136, allocations: 0 / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.136, allocations: 0 / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.136, allocations: 4 kB / 473.6 MB, free: 11.7 MB / 350.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.0004568/0.1365, allocations: 363.4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1365, allocations: 8.562 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.1366, allocations: 11.89 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1368, allocations: 182.9 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1368, allocations: 4 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1368, allocations: 7.953 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1369, allocations: 49.69 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.137, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.137, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.137, allocations: 3.984 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.1371, allocations: 23.98 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1375, allocations: 280.8 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1377, allocations: 42.55 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.1377, allocations: 16.86 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1377, allocations: 0 / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1378, allocations: 38.56 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1378, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005452/0.1383, allocations: 157.4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1384, allocations: 55.39 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1385, allocations: 140.6 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1386, allocations: 29.7 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.1386, allocations: 95.98 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1386, allocations: 19.8 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.1386, allocations: 0 / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1388, allocations: 318.8 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.1389, allocations: 23.98 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.139, allocations: 23.98 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.139, allocations: 19.98 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1391, allocations: 4 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001635/0.1392, allocations: 89.77 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1393, allocations: 4 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1393, allocations: 4.062 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1393, allocations: 0 / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.1393, allocations: 15.98 kB / 475.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1394, allocations: 7.938 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.1394, allocations: 15.92 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1394, allocations: 0 / 475.6 MB, free: 9.469 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.1395, allocations: 125.7 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.1396, allocations: 8.188 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.1398, allocations: 97.97 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1398, allocations: 3.984 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1398, allocations: 4 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1398, allocations: 0 / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.1402, allocations: 350.5 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1402, allocations: 0 / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.1403, allocations: 15.98 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1403, allocations: 0 / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1403, allocations: 0 / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1403, allocations: 4 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1403, allocations: 0 / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1405, allocations: 191.3 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.1406, allocations: 89.02 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1406, allocations: 0 / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.1407, allocations: 7.984 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1407, allocations: 4.188 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1407, allocations: 8 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.1408, allocations: 111.2 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1408, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1411, allocations: 20 kB / 476.6 MB, free: 8.344 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009048/0.142, allocations: 400.2 kB / 477 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1422, allocations: 55.97 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1422, allocations: 0 / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.1423, allocations: 31.92 kB / 477.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1426, allocations: 19.94 kB / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.143, allocations: 176.7 kB / 477.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1433, allocations: 0.6887 MB / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1433, allocations: 8.234 kB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1434, allocations: 15.42 kB / 478 MB, free: 7.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1434, allocations: 4 kB / 478 MB, free: 7.059 MB / 350.1 MB Notification: Performance of Templates: time 0.003596/0.147, allocations: 0.9963 MB / 479 MB, free: 6.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches