Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.4 kB / 17.04 MB, free: 5.812 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.001457/0.001457, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2206/0.2206, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 70.06 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1247, allocations: 57.78 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00305/0.1278, allocations: 1.716 MB / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1292, allocations: 0.8 MB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1293, allocations: 7.875 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.1298, allocations: 111.7 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.1301, allocations: 79.66 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1306, allocations: 91.75 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1309, allocations: 115.7 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1311, allocations: 19.97 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1312, allocations: 55.77 kB / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1314, allocations: 67.75 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.1314, allocations: 8 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1316, allocations: 47.92 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.1316, allocations: 27.91 kB / 445.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.1317, allocations: 47.67 kB / 445.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.132, allocations: 139.5 kB / 445.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.132, allocations: 8 kB / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.132, allocations: 0 / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1321, allocations: 0 / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006665/0.1327, allocations: 446.6 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1328, allocations: 15.89 kB / 445.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.1329, allocations: 12.84 kB / 445.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1332, allocations: 216 kB / 446 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1332, allocations: 8.375 kB / 446 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1333, allocations: 12.02 kB / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1335, allocations: 73.61 kB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1335, allocations: 0 / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1335, allocations: 3.938 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1335, allocations: 4 kB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.1336, allocations: 31.97 kB / 446.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.1341, allocations: 316.7 kB / 446.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1343, allocations: 82.77 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1343, allocations: 20.84 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1344, allocations: 4 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1345, allocations: 75.38 kB / 446.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.1345, allocations: 0 / 446.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006241/0.1352, allocations: 232.9 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1352, allocations: 59.34 kB / 446.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1354, allocations: 246.5 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1354, allocations: 37.64 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1355, allocations: 108.1 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1355, allocations: 35.55 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.1356, allocations: 25.72 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.1357, allocations: 334.8 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.1357, allocations: 24 kB / 447.7 MB, free: 196 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.1358, allocations: 53.31 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1359, allocations: 77.66 kB / 447.8 MB, free: 56 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1359, allocations: 0 / 447.8 MB, free: 56 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002445/0.1362, allocations: 133.5 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1362, allocations: 4.031 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1362, allocations: 8 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1362, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1364, allocations: 23.92 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1364, allocations: 7.938 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1364, allocations: 7.984 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1364, allocations: 4 kB / 448 MB, free: 15.86 MB / 334.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 (13): * Single equations (assignments): 13 * 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.0001318/0.1366, allocations: 141.7 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1366, allocations: 15.81 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.1367, allocations: 25.41 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1367, allocations: 0 / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1367, allocations: 3.938 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1367, allocations: 7.922 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.1373, allocations: 455 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1373, allocations: 4 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1374, allocations: 15.94 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1374, allocations: 0 / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1374, allocations: 4.031 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1374, allocations: 4 kB / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1374, allocations: 0 / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1377, allocations: 228.1 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1378, allocations: 96.86 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1378, allocations: 96 / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.1379, allocations: 11.92 kB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.138, allocations: 12 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.138, allocations: 7.984 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1382, allocations: 188.2 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.335e-06/0.1382, allocations: 0 / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1385, allocations: 31.94 kB / 449.2 MB, free: 14.53 MB / 334.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 (11): * Single equations (assignments): 9 * 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.001056/0.1395, allocations: 465.1 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1398, allocations: 79.91 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1398, allocations: 0 / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.1399, allocations: 39.92 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1402, allocations: 35.84 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.1408, allocations: 304 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1412, allocations: 0.72 MB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.1412, allocations: 21.06 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1413, allocations: 27.42 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1413, allocations: 0 / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Templates: time 0.005198/0.1465, allocations: 1.92 MB / 452.8 MB, free: 10.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches