Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 181.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 223.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007377/0.0007376, allocations: 96.67 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3195/0.3195, allocations: 43.54 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 20 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1085, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.39, allocations: 87.59 MB / 0.5655 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3902, allocations: 75.34 kB / 0.5655 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.404, allocations: 5.546 MB / 0.571 GB, free: 9.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4041, allocations: 0 / 0.571 GB, free: 9.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4041, allocations: 4 kB / 0.571 GB, free: 9.289 MB / 394.7 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.0004642/0.4046, allocations: 441.8 kB / 0.5714 GB, free: 8.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4046, allocations: 8.031 kB / 0.5714 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.4046, allocations: 20.75 kB / 0.5714 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4049, allocations: 237.8 kB / 0.5716 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.405, allocations: 384 / 0.5716 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.405, allocations: 4.375 kB / 0.5716 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4051, allocations: 46.92 kB / 0.5717 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.4051, allocations: 192 / 0.5717 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4051, allocations: 11.94 kB / 0.5717 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4051, allocations: 0 / 0.5717 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.194e-05/0.4052, allocations: 15.98 kB / 0.5717 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.4054, allocations: 197.7 kB / 0.5719 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.4056, allocations: 54.55 kB / 0.572 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.4056, allocations: 16.86 kB / 0.572 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4056, allocations: 12.73 kB / 0.572 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.4058, allocations: 71.3 kB / 0.5721 GB, free: 8.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.4058, allocations: 0 / 0.5721 GB, free: 8.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002609/0.4061, allocations: 101.5 kB / 0.5722 GB, free: 7.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.4061, allocations: 55.41 kB / 0.5722 GB, free: 7.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.4064, allocations: 251.7 kB / 0.5724 GB, free: 7.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4064, allocations: 29.7 kB / 0.5725 GB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.4064, allocations: 112.1 kB / 0.5726 GB, free: 7.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.4065, allocations: 19.75 kB / 0.5726 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.4065, allocations: 3.938 kB / 0.5726 GB, free: 7.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4066, allocations: 326.8 kB / 0.5729 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.4067, allocations: 15.98 kB / 0.5729 GB, free: 7.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.4067, allocations: 29.7 kB / 0.573 GB, free: 7.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.4068, allocations: 49.64 kB / 0.573 GB, free: 6.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4068, allocations: 0 / 0.573 GB, free: 6.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001936/0.407, allocations: 81.5 kB / 0.5731 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4071, allocations: 11.94 kB / 0.5731 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4071, allocations: 0 / 0.5731 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4071, allocations: 0 / 0.5731 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.4072, allocations: 15.92 kB / 0.5731 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4072, allocations: 4 kB / 0.5731 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.4072, allocations: 8.031 kB / 0.5731 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4072, allocations: 4 kB / 0.5731 GB, free: 6.848 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/0.4073, allocations: 132.4 kB / 0.5733 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.4074, allocations: 15.75 kB / 0.5733 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.4076, allocations: 106.6 kB / 0.5734 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4076, allocations: 0 / 0.5734 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4076, allocations: 0 / 0.5734 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4076, allocations: 0 / 0.5734 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.4078, allocations: 205.5 kB / 0.5736 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4078, allocations: 7.984 kB / 0.5736 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.4078, allocations: 4.375 kB / 0.5736 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4078, allocations: 3.938 kB / 0.5736 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4078, allocations: 4 kB / 0.5736 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4078, allocations: 4 kB / 0.5736 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4078, allocations: 0 / 0.5736 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.408, allocations: 116.9 kB / 0.5737 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.4081, allocations: 104.9 kB / 0.5738 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.4081, allocations: 11.94 kB / 0.5738 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.4082, allocations: 4 kB / 0.5738 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.4082, allocations: 7.922 kB / 0.5738 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4082, allocations: 4 kB / 0.5738 GB, free: 6.035 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.4084, allocations: 199.3 kB / 0.574 GB, free: 5.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4084, allocations: 0 / 0.574 GB, free: 5.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.4086, allocations: 23.94 kB / 0.574 GB, free: 5.816 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008036/0.4094, allocations: 422.9 kB / 0.5744 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.4096, allocations: 35.98 kB / 0.5745 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4096, allocations: 3.938 kB / 0.5745 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.4097, allocations: 27.98 kB / 0.5745 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.4099, allocations: 25.39 kB / 0.5745 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.4104, allocations: 322.1 kB / 0.5748 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.4106, allocations: 0.7082 MB / 0.5755 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.4107, allocations: 19.44 kB / 0.5755 GB, free: 4.305 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4107, allocations: 4 kB / 0.5756 GB, free: 4.301 MB / 394.7 MB Notification: Performance of Templates: time 0.003164/0.4139, allocations: 1.922 MB / 0.5774 GB, free: 2.383 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches