Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009043, allocations: 97.69 kB / 17 MB, free: 6.418 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.0008311/0.0008308, allocations: 188.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.25 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00248/0.1333, allocations: 1.575 MB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1348, allocations: 0.8503 MB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.135, allocations: 0 / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1353, allocations: 39.83 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1355, allocations: 43.78 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1359, allocations: 110.1 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1361, allocations: 119.6 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1363, allocations: 25.48 kB / 474.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1364, allocations: 43.73 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1365, allocations: 43.77 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1365, allocations: 4 kB / 474.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1366, allocations: 35.98 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.1367, allocations: 19.92 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.1367, allocations: 41.58 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1369, allocations: 112 kB / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.137, allocations: 0 / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.137, allocations: 0 / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.137, allocations: 0 / 474.7 MB, free: 10.64 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006328/0.1376, allocations: 464.4 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1377, allocations: 8.031 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.1377, allocations: 15.81 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.138, allocations: 218.8 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.138, allocations: 4 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1381, allocations: 8 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1383, allocations: 111 kB / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1383, allocations: 0 / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1384, allocations: 4 kB / 475.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.1384, allocations: 4 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1385, allocations: 55.84 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.1392, allocations: 0.5203 MB / 476.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.1395, allocations: 86.66 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.1396, allocations: 40.84 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1396, allocations: 0 / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.1399, allocations: 91.3 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1399, allocations: 0 / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004118/0.1403, allocations: 145.5 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1403, allocations: 55.41 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1405, allocations: 191.4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1406, allocations: 29.7 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.1407, allocations: 112 kB / 476.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1407, allocations: 27.64 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.1407, allocations: 0 / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1408, allocations: 330.8 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.1409, allocations: 27.98 kB / 477.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.141, allocations: 68.27 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.744e-05/0.1412, allocations: 44.23 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1412, allocations: 4 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002676/0.1414, allocations: 137.4 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1415, allocations: 7.984 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1415, allocations: 0 / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1415, allocations: 4 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.1416, allocations: 20 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1416, allocations: 12.05 kB / 477.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.1417, allocations: 15.84 kB / 477.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.1417, allocations: 4 kB / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001064/0.1418, allocations: 130.3 kB / 477.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1419, allocations: 15.81 kB / 477.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.1419, allocations: 17.41 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1419, allocations: 3.984 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1419, allocations: 0 / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1419, allocations: 4 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.1421, allocations: 213.5 kB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1421, allocations: 0 / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.1422, allocations: 23.92 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1422, allocations: 3.938 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1423, allocations: 4 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1423, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1423, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1426, allocations: 192.8 kB / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1427, allocations: 92.98 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1427, allocations: 192 / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.1428, allocations: 11.98 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1429, allocations: 11.92 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1429, allocations: 8.062 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.143, allocations: 141.2 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1433, allocations: 27.91 kB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009258/0.1442, allocations: 401.3 kB / 478.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1444, allocations: 91.89 kB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1445, allocations: 4 kB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1446, allocations: 35.98 kB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1448, allocations: 36.11 kB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.1454, allocations: 290.3 kB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1457, allocations: 0.7204 MB / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.1457, allocations: 17.41 kB / 479.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1458, allocations: 15.44 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1458, allocations: 0 / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Templates: time 0.00494/0.1507, allocations: 1.731 MB / 481.7 MB, free: 3.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches