Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001946, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 75.58 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1215, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003486/0.125, allocations: 1.73 MB / 482.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1267, allocations: 1.021 MB / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.1268, allocations: 7.938 kB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1271, allocations: 35.77 kB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1275, allocations: 95.59 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1278, allocations: 71.69 kB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.128, allocations: 107.7 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1281, allocations: 15.98 kB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.1282, allocations: 39.8 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.1283, allocations: 43.77 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1284, allocations: 4 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1285, allocations: 43.92 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1286, allocations: 11.94 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.1286, allocations: 39.78 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1289, allocations: 119.9 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1289, allocations: 0 / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1289, allocations: 3.938 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1289, allocations: 0 / 484.1 MB, free: 1.891 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.0005589/0.1295, allocations: 411 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1295, allocations: 8.031 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.1296, allocations: 16.75 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1298, allocations: 204 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1299, allocations: 8.375 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1299, allocations: 4.125 kB / 484.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1301, allocations: 57.67 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1301, allocations: 4 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1301, allocations: 0 / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1301, allocations: 0 / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.1302, allocations: 23.98 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1306, allocations: 288.8 kB / 485.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1308, allocations: 58.67 kB / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1308, allocations: 16.86 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1309, allocations: 4 kB / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1311, allocations: 75.31 kB / 485.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1311, allocations: 3.938 kB / 485.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005686/0.1317, allocations: 161.3 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1318, allocations: 55.34 kB / 485.4 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.132, allocations: 191.3 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.132, allocations: 29.7 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.1321, allocations: 104.2 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1321, allocations: 19.75 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1322, allocations: 29.7 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1323, allocations: 326.8 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.1324, allocations: 19.98 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.1324, allocations: 33.72 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1326, allocations: 65.62 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1326, allocations: 0 / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.1328, allocations: 105.5 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1328, allocations: 4 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1328, allocations: 0 / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1328, allocations: 0 / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.1329, allocations: 19.94 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1329, allocations: 160 / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.133, allocations: 11.95 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.133, allocations: 7.984 kB / 486.4 MB, free: 15.33 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.0001032/0.1331, allocations: 121.8 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1332, allocations: 11.91 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.1332, allocations: 17.39 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1332, allocations: 0 / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1332, allocations: 0 / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1332, allocations: 3.938 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.1337, allocations: 399.6 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1337, allocations: 0 / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1338, allocations: 15.98 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1338, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1338, allocations: 7.938 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1338, allocations: 0 / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1338, allocations: 3.938 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.134, allocations: 204.3 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.1341, allocations: 85.02 kB / 487.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1341, allocations: 8.109 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.1342, allocations: 8 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1343, allocations: 7.938 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1343, allocations: 7.922 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1344, allocations: 136 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1344, allocations: 0 / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1347, allocations: 31.98 kB / 487.4 MB, free: 14.17 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.001076/0.1358, allocations: 452.7 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.136, allocations: 55.98 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.136, allocations: 0 / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.1361, allocations: 35.91 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1364, allocations: 30.97 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.1369, allocations: 252.9 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1373, allocations: 0.7041 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.1373, allocations: 23.36 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1373, allocations: 0 / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004066/0.1414, allocations: 1.923 MB / 490.9 MB, free: 10.81 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches