Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 113.2 kB / 17.08 MB, free: 6.008 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.003196/0.003196, allocations: 198.3 kB / 18.01 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.465/3.465, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.4982/0.4982, allocations: 43.52 MB / 314.8 MB, free: 456 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.003308/0.003308, allocations: 67.91 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2531, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.005241/0.2585, allocations: 1.697 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.2623, allocations: 1.406 MB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.2626, allocations: 7.938 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.2632, allocations: 43.77 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.2637, allocations: 63.69 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2642, allocations: 91.7 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.2646, allocations: 91.75 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2647, allocations: 20.2 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2649, allocations: 43.78 kB / 0.492 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.2652, allocations: 35.84 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.2652, allocations: 4 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.2655, allocations: 59.97 kB / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.2656, allocations: 23.86 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.2657, allocations: 27.8 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.2661, allocations: 119.7 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2662, allocations: 4 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2662, allocations: 4 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2662, allocations: 0 / 0.4922 GB, free: 7.988 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003215/0.2694, allocations: 403 kB / 0.4926 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/0.2695, allocations: 11.89 kB / 0.4926 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2696, allocations: 12.83 kB / 0.4927 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.2702, allocations: 203.6 kB / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.2703, allocations: 8.359 kB / 0.4929 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.2704, allocations: 8.109 kB / 0.4929 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.2707, allocations: 71.39 kB / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2707, allocations: 0 / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.2708, allocations: 0 / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2708, allocations: 0 / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.2709, allocations: 23.98 kB / 0.493 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.2717, allocations: 292.7 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.2721, allocations: 58.69 kB / 0.4933 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2722, allocations: 20.84 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.2723, allocations: 0 / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.2726, allocations: 75.33 kB / 0.4934 GB, free: 6.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.706e-06/0.2726, allocations: 0 / 0.4934 GB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001129/0.2738, allocations: 165.4 kB / 0.4935 GB, free: 6.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.2739, allocations: 85.05 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.2742, allocations: 149.8 kB / 0.4938 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.2743, allocations: 25.7 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.2744, allocations: 96.14 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.2745, allocations: 23.64 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2746, allocations: 25.72 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.2749, allocations: 322.8 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.275, allocations: 27.98 kB / 0.4943 GB, free: 5.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.2752, allocations: 46.5 kB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.2755, allocations: 57.64 kB / 0.4944 GB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2755, allocations: 3.984 kB / 0.4944 GB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002706/0.2757, allocations: 93.59 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.2758, allocations: 12.06 kB / 0.4945 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2758, allocations: 0 / 0.4945 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2758, allocations: 0 / 0.4945 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.276, allocations: 19.92 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.2761, allocations: 4 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2762, allocations: 3.938 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2762, allocations: 4 kB / 0.4945 GB, free: 5.434 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 (10): * Single equations (assignments): 10 * 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.0001871/0.2764, allocations: 125.8 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.2765, allocations: 15.8 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.2766, allocations: 20.81 kB / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2766, allocations: 0 / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.2766, allocations: 0 / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.2766, allocations: 3.938 kB / 0.4947 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.2774, allocations: 395.3 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2775, allocations: 0 / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.2775, allocations: 8 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2775, allocations: 0 / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2776, allocations: 11.97 kB / 0.495 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2776, allocations: 4.312 kB / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2776, allocations: 0 / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.278, allocations: 196.3 kB / 0.4952 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2782, allocations: 89 kB / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.2782, allocations: 7.938 kB / 0.4953 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2784, allocations: 4 kB / 0.4953 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.2785, allocations: 15.98 kB / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.2785, allocations: 0 / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.2788, allocations: 122.7 kB / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2788, allocations: 0 / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.2794, allocations: 28 kB / 0.4955 GB, free: 4.301 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002297/0.2817, allocations: 0.4946 MB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.2821, allocations: 59.97 kB / 0.496 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2821, allocations: 0 / 0.496 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2823, allocations: 35.98 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.2831, allocations: 35.73 kB / 0.4961 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.284, allocations: 220.5 kB / 0.4963 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.2844, allocations: 0.6963 MB / 0.497 GB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.2845, allocations: 19.44 kB / 0.497 GB, free: 2.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.116e-06/0.2846, allocations: 8 kB / 0.497 GB, free: 2.723 MB / 382.1 MB Notification: Performance of Templates: time 0.00744/0.292, allocations: 2.067 MB / 0.499 GB, free: 0.6562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches