Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 95.89 kB / 15.68 MB, free: 488 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.001473/0.001474, allocations: 177.1 kB / 16.56 MB, free: 6.844 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.377/1.377, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3174/0.3174, allocations: 43.56 MB / 314.5 MB, free: 8.805 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.0005283/0.0005284, allocations: 20 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 58.85 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002132/0.1269, allocations: 1.462 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.129, allocations: 1.371 MB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1291, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1294, allocations: 47.77 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1296, allocations: 75.77 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.13, allocations: 119.7 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1302, allocations: 111.8 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.1302, allocations: 21.52 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1303, allocations: 75.62 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1305, allocations: 51.77 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1305, allocations: 4 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1306, allocations: 39.92 kB / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.1307, allocations: 31.84 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.1307, allocations: 41.64 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1309, allocations: 124 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1309, allocations: 3.938 kB / 446.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1309, allocations: 4 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1309, allocations: 0 / 446.3 MB, free: 9.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005316/0.1315, allocations: 450.6 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1315, allocations: 8.031 kB / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.1316, allocations: 15.81 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1319, allocations: 234.6 kB / 447 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1319, allocations: 4 kB / 447 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1319, allocations: 3.984 kB / 447 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1321, allocations: 105 kB / 447.1 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1321, allocations: 4 kB / 447.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1321, allocations: 4 kB / 447.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1322, allocations: 7.953 kB / 447.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.1323, allocations: 27.91 kB / 447.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.1325, allocations: 214.5 kB / 447.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1327, allocations: 109.3 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1328, allocations: 0 / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.133, allocations: 121 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.133, allocations: 0 / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004007/0.1334, allocations: 157.5 kB / 447.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.1335, allocations: 136.4 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1338, allocations: 211.8 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1338, allocations: 29.7 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.1339, allocations: 112.1 kB / 448.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1339, allocations: 31.64 kB / 448.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.1339, allocations: 4 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.134, allocations: 326.8 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.1341, allocations: 31.98 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1342, allocations: 65.12 kB / 448.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.1343, allocations: 40.02 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1343, allocations: 0 / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000234/0.1346, allocations: 133.4 kB / 448.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1346, allocations: 4 kB / 448.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1346, allocations: 0 / 448.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1346, allocations: 4 kB / 448.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1347, allocations: 19.98 kB / 448.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1348, allocations: 12.02 kB / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.1348, allocations: 12.53 kB / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.1349, allocations: 7.938 kB / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 0.000104/0.135, allocations: 137.8 kB / 449 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.135, allocations: 15.81 kB / 449.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.1351, allocations: 16.98 kB / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1351, allocations: 7.938 kB / 449.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1351, allocations: 4 kB / 449.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1351, allocations: 7.953 kB / 449.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1353, allocations: 221.5 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1353, allocations: 3.984 kB / 449.3 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1353, allocations: 8 kB / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1353, allocations: 0 / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1354, allocations: 8 kB / 449.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1354, allocations: 0 / 449.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1354, allocations: 3.938 kB / 449.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1356, allocations: 179.4 kB / 449.5 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.1357, allocations: 100.9 kB / 449.6 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1358, allocations: 7.938 kB / 449.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.1358, allocations: 4 kB / 449.6 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1359, allocations: 11.94 kB / 449.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1359, allocations: 8 kB / 449.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.136, allocations: 169.5 kB / 449.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1361, allocations: 0 / 449.8 MB, free: 5.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1363, allocations: 32 kB / 449.8 MB, free: 5.57 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009306/0.1372, allocations: 461 kB / 450.3 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1375, allocations: 83.91 kB / 450.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1375, allocations: 0 / 450.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/0.1376, allocations: 43.92 kB / 450.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1379, allocations: 47.89 kB / 450.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.1383, allocations: 279.1 kB / 450.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1387, allocations: 0.7205 MB / 451.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1388, allocations: 34.02 kB / 451.5 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.1389, allocations: 31.36 kB / 451.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1389, allocations: 0 / 451.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of Templates: time 0.005461/0.1443, allocations: 2.437 MB / 454 MB, free: 1.438 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches