Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001236, allocations: 106.7 kB / 17.21 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 205.8 kB / 18.14 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.11 MB / 343.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 78.28 kB / 416.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1374, allocations: 62.44 MB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003522/0.141, allocations: 1.659 MB / 480.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1429, allocations: 1.132 MB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.143, allocations: 7.938 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1432, allocations: 31.84 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1436, allocations: 63.81 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1439, allocations: 107.1 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1441, allocations: 63.78 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1442, allocations: 12 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.1442, allocations: 27.84 kB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1444, allocations: 35.78 kB / 482.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1444, allocations: 4 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.1446, allocations: 87.94 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1447, allocations: 7.984 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.1448, allocations: 35.8 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.145, allocations: 131.7 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1451, allocations: 0 / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1451, allocations: 0 / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1451, allocations: 0 / 482.7 MB, free: 2.293 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.0005176/0.1456, allocations: 403.5 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1456, allocations: 8.875 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1457, allocations: 4.938 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1459, allocations: 196.1 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.146, allocations: 4.375 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.146, allocations: 8.375 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1462, allocations: 67.45 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1462, allocations: 4 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1462, allocations: 4 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1462, allocations: 4 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1463, allocations: 19.98 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1467, allocations: 288.9 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.147, allocations: 46.48 kB / 483.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.147, allocations: 16.86 kB / 483.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1471, allocations: 0 / 483.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1471, allocations: 42.64 kB / 483.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1471, allocations: 0 / 483.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006527/0.1478, allocations: 149.2 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.1478, allocations: 81.09 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.148, allocations: 144.3 kB / 484.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.148, allocations: 25.7 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1481, allocations: 96.14 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1481, allocations: 27.64 kB / 484.3 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1482, allocations: 17.72 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1483, allocations: 318.8 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.1483, allocations: 19.98 kB / 484.6 MB, free: 116 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.1484, allocations: 37.7 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1486, allocations: 64.78 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1486, allocations: 0 / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000221/0.1488, allocations: 73.67 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1489, allocations: 7.938 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1489, allocations: 4 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1489, allocations: 0 / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.149, allocations: 11.98 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.149, allocations: 4 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1491, allocations: 11.98 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1491, allocations: 7.938 kB / 484.9 MB, free: 15.88 MB / 366.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.23e-05/0.1492, allocations: 117.8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1492, allocations: 7.906 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1495, allocations: 94.2 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1495, allocations: 64 / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.1495, allocations: 8 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1495, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.15, allocations: 366.3 kB / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.15, allocations: 0 / 485.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.1501, allocations: 11.98 kB / 485.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1501, allocations: 0 / 485.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1501, allocations: 8 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1501, allocations: 3.938 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1501, allocations: 4 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1504, allocations: 179.4 kB / 485.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.1505, allocations: 77.11 kB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1505, allocations: 3.938 kB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.1506, allocations: 15.92 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1506, allocations: 4 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1506, allocations: 4 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.1507, allocations: 117.4 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1507, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1511, allocations: 39.94 kB / 485.9 MB, free: 14.73 MB / 366.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.001225/0.1523, allocations: 489 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.1526, allocations: 59.95 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1526, allocations: 0 / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.1527, allocations: 31.92 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1531, allocations: 19.92 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1535, allocations: 187.2 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1538, allocations: 0.6926 MB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.1539, allocations: 15.98 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.154, allocations: 19.42 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.154, allocations: 0 / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.004917/0.1589, allocations: 1.732 MB / 489.1 MB, free: 11.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches