Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007561/0.0007559, allocations: 95.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008578/0.0008578, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002841, allocations: 12.38 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 63.56 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002256/0.1355, allocations: 1.438 MB / 485.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1372, allocations: 0.9902 MB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.1373, allocations: 0 / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1377, allocations: 63.8 kB / 486.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.138, allocations: 83.72 kB / 486.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1383, allocations: 59.88 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1385, allocations: 107.6 kB / 486.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.1386, allocations: 11.98 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.1387, allocations: 39.8 kB / 486.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.1388, allocations: 43.77 kB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1388, allocations: 0 / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1389, allocations: 47.92 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.139, allocations: 27.92 kB / 486.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.1391, allocations: 65.38 kB / 486.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1393, allocations: 104 kB / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1393, allocations: 0 / 486.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1393, allocations: 7.938 kB / 486.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1393, allocations: 0 / 486.8 MB, free: 1.051 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005583/0.1399, allocations: 422.9 kB / 487.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1399, allocations: 12.88 kB / 487.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.14, allocations: 12.75 kB / 487.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1403, allocations: 224.9 kB / 487.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1403, allocations: 4.359 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1403, allocations: 8.125 kB / 487.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1405, allocations: 53.67 kB / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1405, allocations: 0 / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1405, allocations: 0 / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1405, allocations: 8 kB / 487.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.1406, allocations: 15.98 kB / 487.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.141, allocations: 304.7 kB / 487.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1412, allocations: 58.67 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1413, allocations: 20.86 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1413, allocations: 3.938 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.1415, allocations: 75.31 kB / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1415, allocations: 0 / 488 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.1421, allocations: 177.1 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1421, allocations: 55.34 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.1424, allocations: 271 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1424, allocations: 29.7 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.1425, allocations: 116 kB / 488.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1426, allocations: 19.8 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1426, allocations: 21.7 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1428, allocations: 326.8 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.1428, allocations: 23.98 kB / 489 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.1429, allocations: 33.7 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.143, allocations: 61.72 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.143, allocations: 3.938 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.1432, allocations: 105.5 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1433, allocations: 8 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.1433, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1433, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.1434, allocations: 19.94 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1434, allocations: 4.172 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1435, allocations: 16.28 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1435, allocations: 7.938 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001124/0.1436, allocations: 133.8 kB / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1436, allocations: 15.81 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.1437, allocations: 21.39 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1437, allocations: 4 kB / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1437, allocations: 0 / 489.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1437, allocations: 3.938 kB / 489.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1442, allocations: 411.3 kB / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1442, allocations: 0 / 489.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.1442, allocations: 8 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1442, allocations: 0 / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1443, allocations: 3.938 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1443, allocations: 4 kB / 489.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.1443, allocations: 3.984 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1445, allocations: 212.1 kB / 490.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.1446, allocations: 88.92 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1446, allocations: 11.94 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.1447, allocations: 3.984 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1447, allocations: 4 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.1448, allocations: 4 kB / 490.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.145, allocations: 212.4 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 4 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1453, allocations: 20 kB / 490.4 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001092/0.1464, allocations: 459.5 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1466, allocations: 63.95 kB / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1466, allocations: 0 / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1466, allocations: 31.92 kB / 491 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.147, allocations: 24.3 kB / 491 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.1476, allocations: 360.7 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1479, allocations: 0.7199 MB / 492.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1479, allocations: 19.44 kB / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.148, allocations: 0 / 492.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.004374/0.1523, allocations: 2.072 MB / 494.2 MB, free: 9.453 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches