Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008585/0.0008588, allocations: 97.17 kB / 16.02 MB, free: 84 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.00105/0.00105, allocations: 181.3 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.4459/0.4459, allocations: 43.58 MB / 315 MB, free: 9.059 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.0005124/0.0005126, allocations: 12 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.135, allocations: 58.87 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002636/0.1377, allocations: 1.618 MB / 445.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1392, allocations: 0.8118 MB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1393, allocations: 3.938 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1397, allocations: 31.84 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1399, allocations: 51.77 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1402, allocations: 103.8 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1404, allocations: 119.6 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1406, allocations: 33.73 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.1407, allocations: 47.73 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.1408, allocations: 47.66 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1408, allocations: 4 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.967e-05/0.1409, allocations: 43.97 kB / 446.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.141, allocations: 19.92 kB / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.1411, allocations: 73.31 kB / 446.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1413, allocations: 131.5 kB / 446.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1413, allocations: 0 / 446.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1413, allocations: 0 / 446.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1413, allocations: 0 / 446.6 MB, free: 9.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006293/0.142, allocations: 476.5 kB / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.142, allocations: 8.031 kB / 447.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.1421, allocations: 16.75 kB / 447.1 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1423, allocations: 216.8 kB / 447.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1423, allocations: 4.375 kB / 447.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1424, allocations: 12.12 kB / 447.3 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1426, allocations: 115.8 kB / 447.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1427, allocations: 0 / 447.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1427, allocations: 4 kB / 447.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1427, allocations: 4 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1428, allocations: 47.91 kB / 447.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.1435, allocations: 0.5126 MB / 448 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1438, allocations: 90.61 kB / 448.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.1439, allocations: 48.75 kB / 448.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.144, allocations: 4 kB / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.1442, allocations: 87.38 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.1443, allocations: 3.938 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000419/0.1447, allocations: 145.4 kB / 448.4 MB, free: 7.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1447, allocations: 63.28 kB / 448.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1449, allocations: 187.5 kB / 448.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1449, allocations: 25.7 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.145, allocations: 123.9 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.1451, allocations: 27.7 kB / 448.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1451, allocations: 17.72 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1452, allocations: 326.8 kB / 449.1 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.1453, allocations: 27.98 kB / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1454, allocations: 68.28 kB / 449.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1456, allocations: 96.2 kB / 449.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1456, allocations: 4 kB / 449.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000259/0.1459, allocations: 137.3 kB / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1459, allocations: 4 kB / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1459, allocations: 4 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.146, allocations: 0 / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1461, allocations: 36.33 kB / 449.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1461, allocations: 4.125 kB / 449.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1462, allocations: 19.83 kB / 449.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1463, allocations: 4 kB / 449.5 MB, free: 6.551 MB / 382.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.1464, allocations: 125.8 kB / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1464, allocations: 15.84 kB / 449.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.1465, allocations: 21.39 kB / 449.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1465, allocations: 3.938 kB / 449.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1465, allocations: 0 / 449.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1465, allocations: 12 kB / 449.7 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1467, allocations: 213.5 kB / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1467, allocations: 0 / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.1468, allocations: 11.98 kB / 449.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1468, allocations: 0 / 449.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1468, allocations: 4 kB / 449.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1468, allocations: 3.938 kB / 449.9 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1468, allocations: 3.938 kB / 449.9 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.1472, allocations: 185 kB / 450.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.1473, allocations: 96.84 kB / 450.2 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1473, allocations: 4 kB / 450.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.1474, allocations: 7.938 kB / 450.2 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1474, allocations: 7.984 kB / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1474, allocations: 8.062 kB / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1476, allocations: 145.2 kB / 450.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1476, allocations: 0 / 450.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1479, allocations: 23.94 kB / 450.4 MB, free: 5.578 MB / 382.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 (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.001042/0.1489, allocations: 422.9 kB / 450.8 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1492, allocations: 80.03 kB / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1492, allocations: 0 / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1493, allocations: 39.92 kB / 450.9 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1496, allocations: 35.97 kB / 450.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.1502, allocations: 317.9 kB / 451.3 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1505, allocations: 0.7084 MB / 452 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.077e-05/0.1506, allocations: 29.77 kB / 452 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.1506, allocations: 15.44 kB / 452 MB, free: 3.918 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1506, allocations: 0 / 452 MB, free: 3.918 MB / 382.1 MB Notification: Performance of Templates: time 0.004999/0.1556, allocations: 1.762 MB / 453.8 MB, free: 2.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches