Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.6 kB / 17.86 MB, free: 5.504 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.001551/0.001551, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.428/1.428, allocations: 222.9 MB / 242.5 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.17 MB / 336.8 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 72.44 kB / 408.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1342, allocations: 60.83 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004027/0.1383, allocations: 1.957 MB / 471.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1401, allocations: 0.9042 MB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1402, allocations: 3.938 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.1406, allocations: 39.83 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1409, allocations: 43.78 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.1413, allocations: 111.3 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.1416, allocations: 131.6 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1418, allocations: 33.38 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1419, allocations: 47.78 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.142, allocations: 51.7 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.142, allocations: 4 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1422, allocations: 39.98 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.1423, allocations: 23.92 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.1424, allocations: 59.53 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1426, allocations: 108.1 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1426, allocations: 0 / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1426, allocations: 0 / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1426, allocations: 0 / 472.7 MB, free: 11.22 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.000769/0.1434, allocations: 472.6 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1434, allocations: 11.97 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.1435, allocations: 16.75 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1438, allocations: 228.4 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1438, allocations: 8.375 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1439, allocations: 12.06 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1442, allocations: 104.2 kB / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1442, allocations: 4 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1442, allocations: 0 / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1442, allocations: 0 / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1444, allocations: 55.91 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.1451, allocations: 0.5126 MB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.1454, allocations: 86.67 kB / 474.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1455, allocations: 40.83 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1456, allocations: 0 / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.1459, allocations: 87.31 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.1459, allocations: 0 / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000431/0.1463, allocations: 141.4 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1464, allocations: 55.34 kB / 474.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1466, allocations: 191.5 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1466, allocations: 29.7 kB / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.1467, allocations: 112 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1467, allocations: 31.59 kB / 474.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1468, allocations: 33.7 kB / 474.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1469, allocations: 326.8 kB / 475.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.147, allocations: 23.98 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1471, allocations: 64.27 kB / 475.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.1474, allocations: 104.5 kB / 475.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1474, allocations: 0 / 475.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003108/0.1477, allocations: 141.4 kB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1477, allocations: 4 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1477, allocations: 4 kB / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1478, allocations: 0 / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1479, allocations: 27.92 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1479, allocations: 3.938 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.148, allocations: 19.92 kB / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.148, allocations: 4 kB / 475.6 MB, free: 8.031 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 ($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.0001139/0.1481, allocations: 121.8 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.1481, allocations: 19.83 kB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.1482, allocations: 21.39 kB / 475.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.1482, allocations: 3.938 kB / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1482, allocations: 3.938 kB / 475.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1482, allocations: 0 / 475.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1484, allocations: 209.6 kB / 476 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1484, allocations: 0 / 476 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.1485, allocations: 15.98 kB / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1485, allocations: 0 / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1486, allocations: 0 / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1486, allocations: 15.86 kB / 476 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1486, allocations: 0 / 476 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.149, allocations: 177 kB / 476.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.1491, allocations: 104.8 kB / 476.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1491, allocations: 4 kB / 476.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.1492, allocations: 7.938 kB / 476.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1492, allocations: 8.047 kB / 476.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1492, allocations: 8 kB / 476.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1494, allocations: 141.2 kB / 476.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1494, allocations: 0 / 476.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1496, allocations: 28.12 kB / 476.5 MB, free: 7.066 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 (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.001005/0.1506, allocations: 404.9 kB / 476.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1509, allocations: 91.89 kB / 477 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1509, allocations: 0 / 477 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1511, allocations: 31.98 kB / 477 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1514, allocations: 38.94 kB / 477.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.152, allocations: 331.8 kB / 477.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1524, allocations: 0.7165 MB / 478.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1524, allocations: 19.44 kB / 478.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1524, allocations: 0 / 478.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Templates: time 0.005407/0.1578, allocations: 2.147 MB / 480.3 MB, free: 3.406 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches