Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 119.3 kB / 17.09 MB, free: 5.965 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.001003/0.001003, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.434/1.434, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2211/0.2211, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 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.00143/0.00143, allocations: 66.03 kB / 442.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004099/0.1365, allocations: 1.651 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.138, allocations: 0.7883 MB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1382, allocations: 0 / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1386, allocations: 51.75 kB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.139, allocations: 63.75 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.1394, allocations: 83.77 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1397, allocations: 87.7 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.1398, allocations: 19.95 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1399, allocations: 35.8 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.14, allocations: 27.84 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.1401, allocations: 4 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1402, allocations: 35.98 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.1403, allocations: 23.86 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.1404, allocations: 43.67 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1407, allocations: 111.6 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1407, allocations: 0 / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1408, allocations: 0 / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.1408, allocations: 4 kB / 0.4916 GB, free: 8.668 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006628/0.1414, allocations: 434.7 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.1415, allocations: 15.88 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.1416, allocations: 12.84 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.142, allocations: 219.7 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.142, allocations: 8.359 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.142, allocations: 4.125 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1422, allocations: 41.69 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1422, allocations: 0 / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1423, allocations: 7.984 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1423, allocations: 0 / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.1424, allocations: 12 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.1426, allocations: 193.7 kB / 0.4925 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1428, allocations: 50.56 kB / 0.4925 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1429, allocations: 24.78 kB / 0.4925 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1429, allocations: 4 kB / 0.4925 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1431, allocations: 71.3 kB / 0.4926 GB, free: 7.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 4.328e-06/0.1431, allocations: 0 / 0.4926 GB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003294/0.1434, allocations: 101.5 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1435, allocations: 55.39 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1438, allocations: 254.6 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1438, allocations: 25.7 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.1439, allocations: 116.1 kB / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1439, allocations: 23.72 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.144, allocations: 25.72 kB / 0.4932 GB, free: 6.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1441, allocations: 322.8 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.1442, allocations: 15.98 kB / 0.4935 GB, free: 6.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.1442, allocations: 25.72 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1444, allocations: 49.89 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1444, allocations: 0 / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001869/0.1446, allocations: 97.42 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1446, allocations: 4 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1446, allocations: 0 / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1446, allocations: 0 / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.1447, allocations: 15.94 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.1447, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1448, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1448, allocations: 4 kB / 0.4937 GB, free: 6.234 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001251/0.1449, allocations: 141.7 kB / 0.4938 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.145, allocations: 19.83 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.145, allocations: 17 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.145, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.145, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.145, allocations: 3.984 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.1452, allocations: 197.6 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1452, allocations: 0 / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.1453, allocations: 0 / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1453, allocations: 4 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1453, allocations: 7.984 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1453, allocations: 4.156 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1453, allocations: 0 / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.1455, allocations: 120.8 kB / 0.4942 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1456, allocations: 81.02 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1456, allocations: 8 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.1456, allocations: 4.062 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1457, allocations: 7.984 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1457, allocations: 4 kB / 0.4943 GB, free: 5.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1459, allocations: 196.5 kB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1459, allocations: 0 / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1461, allocations: 16 kB / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009829/0.1471, allocations: 407.5 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1473, allocations: 47.91 kB / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1473, allocations: 0 / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.1474, allocations: 16.06 kB / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1477, allocations: 47.95 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.1482, allocations: 288.3 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1485, allocations: 0.7158 MB / 0.496 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1486, allocations: 15.42 kB / 0.496 GB, free: 3.773 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1486, allocations: 0 / 0.496 GB, free: 3.773 MB / 382.1 MB Notification: Performance of Templates: time 0.004002/0.1526, allocations: 1.831 MB / 0.4978 GB, free: 1.945 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches