Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009933/0.0009933, allocations: 92.2 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 197 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 8.328 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002047/0.1389, allocations: 1.306 MB / 484.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.14, allocations: 0.5146 MB / 484.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.1401, allocations: 0 / 484.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.1402, allocations: 23.91 kB / 484.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1405, allocations: 63.7 kB / 485 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1408, allocations: 87.78 kB / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.141, allocations: 55.91 kB / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.1411, allocations: 7.984 kB / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.1411, allocations: 27.8 kB / 485.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.1412, allocations: 23.86 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1412, allocations: 0 / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.1413, allocations: 27.98 kB / 485.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.1413, allocations: 4 kB / 485.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.1414, allocations: 57.48 kB / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1416, allocations: 71.8 kB / 485.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1416, allocations: 0 / 485.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1416, allocations: 4 kB / 485.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1416, allocations: 3.938 kB / 485.4 MB, free: 1.879 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.0004016/0.142, allocations: 375.5 kB / 485.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1421, allocations: 12.88 kB / 485.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.1421, allocations: 4.844 kB / 485.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1423, allocations: 198.8 kB / 485.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1423, allocations: 4.375 kB / 485.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1423, allocations: 384 / 485.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1424, allocations: 53.81 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1425, allocations: 4 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1425, allocations: 0 / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1425, allocations: 0 / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.1426, allocations: 31.91 kB / 486 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1429, allocations: 276.9 kB / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1431, allocations: 38.56 kB / 486.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.1432, allocations: 16.86 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1432, allocations: 16.02 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1433, allocations: 30.56 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1433, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005569/0.1438, allocations: 165.2 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1439, allocations: 51.41 kB / 486.6 MB, free: 460 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.144, allocations: 156.5 kB / 486.8 MB, free: 292 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.144, allocations: 25.7 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1441, allocations: 92.14 kB / 486.9 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1441, allocations: 19.7 kB / 486.9 MB, free: 144 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.1442, allocations: 17.72 kB / 486.9 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1443, allocations: 318.8 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.1444, allocations: 23.98 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.1445, allocations: 23.97 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1446, allocations: 52.84 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1446, allocations: 3.938 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.1448, allocations: 97.5 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1449, allocations: 4 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1449, allocations: 7.938 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1449, allocations: 0 / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.145, allocations: 15.98 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.145, allocations: 0 / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.145, allocations: 8 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.145, allocations: 0 / 487.5 MB, free: 15.55 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 8.071e-05/0.1451, allocations: 117.8 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.1452, allocations: 12.16 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1454, allocations: 117.8 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1454, allocations: 0 / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1454, allocations: 0 / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1454, allocations: 0 / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.1459, allocations: 350.5 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1459, allocations: 0 / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.146, allocations: 15.98 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.146, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.146, allocations: 4 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.146, allocations: 7.875 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.146, allocations: 4 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1462, allocations: 187.4 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.1463, allocations: 81.02 kB / 488.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1463, allocations: 7.984 kB / 488.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.1464, allocations: 11.94 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.1464, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1464, allocations: 4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.1465, allocations: 117.7 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1465, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1468, allocations: 16 kB / 488.5 MB, free: 14.42 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.0009167/0.1477, allocations: 401.1 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1479, allocations: 59.89 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1479, allocations: 0 / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.148, allocations: 27.98 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1484, allocations: 15.94 kB / 489 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.1488, allocations: 197.3 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1491, allocations: 0.7004 MB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.1491, allocations: 7.984 kB / 489.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1491, allocations: 11.44 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1492, allocations: 0 / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.003468/0.1526, allocations: 1.059 MB / 491 MB, free: 12.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches