Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001235, allocations: 176.7 kB / 16.57 MB, free: 6.391 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.421/1.421, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3402/0.3402, allocations: 43.54 MB / 314.5 MB, free: 8.957 MB / 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.0005336/0.0005337, allocations: 12 kB / 383.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 58.85 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002106/0.1231, allocations: 1.399 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1243, allocations: 0.7461 MB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.1245, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1248, allocations: 35.83 kB / 444.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.125, allocations: 51.75 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1253, allocations: 75.72 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1254, allocations: 59.92 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.1255, allocations: 20.2 kB / 445.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.1256, allocations: 35.8 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.1257, allocations: 23.84 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1257, allocations: 4 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1259, allocations: 39.98 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.1259, allocations: 19.91 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1259, allocations: 33.7 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1261, allocations: 100 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1261, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1262, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1262, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005097/0.1267, allocations: 402.9 kB / 445.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1267, allocations: 16 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.1268, allocations: 7.906 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.127, allocations: 194.9 kB / 446 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1271, allocations: 7.984 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1271, allocations: 8 kB / 446 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1273, allocations: 67.39 kB / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1273, allocations: 3.953 kB / 446.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1273, allocations: 3.938 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1273, allocations: 3.984 kB / 446.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.567e-05/0.1274, allocations: 35.95 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.1278, allocations: 284.9 kB / 446.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1279, allocations: 58.55 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.128, allocations: 3.953 kB / 446.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1282, allocations: 75.44 kB / 446.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1282, allocations: 0 / 446.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005254/0.1287, allocations: 189.2 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1288, allocations: 77.11 kB / 446.8 MB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1289, allocations: 150.5 kB / 446.9 MB, free: 8.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1289, allocations: 25.7 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.129, allocations: 96.14 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.129, allocations: 27.64 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.129, allocations: 0 / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1291, allocations: 326.8 kB / 447.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.1292, allocations: 24.08 kB / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.1293, allocations: 50.44 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.1293, allocations: 28 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1293, allocations: 0 / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001869/0.1295, allocations: 109.4 kB / 447.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1296, allocations: 4 kB / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1296, allocations: 0 / 447.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1296, allocations: 4.062 kB / 447.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.1297, allocations: 23.98 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1297, allocations: 0 / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.1298, allocations: 4 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1298, allocations: 4 kB / 447.7 MB, free: 8.121 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.1299, allocations: 129.2 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1299, allocations: 11.89 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.1301, allocations: 110.3 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1301, allocations: 11.98 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1302, allocations: 0 / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1302, allocations: 0 / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.1306, allocations: 403.3 kB / 448.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1306, allocations: 0 / 448.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.1307, allocations: 8 kB / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1307, allocations: 4 kB / 448.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1307, allocations: 0 / 448.3 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1307, allocations: 4.031 kB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1307, allocations: 0 / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1309, allocations: 230 kB / 448.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.131, allocations: 85.02 kB / 448.6 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.131, allocations: 3.984 kB / 448.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1311, allocations: 12 kB / 448.6 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1311, allocations: 4 kB / 448.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1312, allocations: 7.984 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.1313, allocations: 115.2 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1313, allocations: 0 / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1316, allocations: 35.89 kB / 448.8 MB, free: 6.859 MB / 382.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.1326, allocations: 0.52 MB / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1328, allocations: 59.92 kB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1329, allocations: 4.062 kB / 449.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.1329, allocations: 35.97 kB / 449.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1332, allocations: 23.97 kB / 449.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.1336, allocations: 218 kB / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1339, allocations: 0.6965 MB / 450.4 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.134, allocations: 21.02 kB / 450.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.1341, allocations: 19.42 kB / 450.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1341, allocations: 0 / 450.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of Templates: time 0.004339/0.1384, allocations: 1.931 MB / 452.3 MB, free: 3.312 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches