Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002333/0.002337, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001097/0.001096, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2791/0.2791, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.512e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.461/0.5855, allocations: 88.61 MB / 0.5593 GB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5859, allocations: 81.8 kB / 0.5594 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.6047, allocations: 4.239 MB / 0.5635 GB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6048, allocations: 0 / 0.5635 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.6048, allocations: 4 kB / 0.5635 GB, free: 11.44 MB / 378.7 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.0006844/0.6055, allocations: 465.9 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6056, allocations: 12.03 kB / 0.564 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.6057, allocations: 11.91 kB / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.6061, allocations: 226 kB / 0.5642 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6061, allocations: 7.688 kB / 0.5642 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.6062, allocations: 4 kB / 0.5642 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.6064, allocations: 103.6 kB / 0.5643 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6064, allocations: 0 / 0.5643 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.6065, allocations: 0 / 0.5643 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6065, allocations: 0 / 0.5643 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.6066, allocations: 42.42 kB / 0.5644 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.6075, allocations: 0.5259 MB / 0.5649 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.6078, allocations: 78.92 kB / 0.565 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.6079, allocations: 30.8 kB / 0.565 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.608, allocations: 4 kB / 0.565 GB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.6082, allocations: 81.16 kB / 0.5651 GB, free: 9.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.055e-06/0.6082, allocations: 0 / 0.5651 GB, free: 9.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003452/0.6086, allocations: 104.4 kB / 0.5652 GB, free: 9.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.6086, allocations: 59.03 kB / 0.5652 GB, free: 9.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.6089, allocations: 171.7 kB / 0.5654 GB, free: 9.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.6089, allocations: 33.64 kB / 0.5654 GB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.6091, allocations: 172 kB / 0.5656 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.6091, allocations: 31.45 kB / 0.5656 GB, free: 9.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.6091, allocations: 7.312 kB / 0.5656 GB, free: 9.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6093, allocations: 314.2 kB / 0.5659 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.6093, allocations: 26.56 kB / 0.566 GB, free: 8.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.6095, allocations: 53.91 kB / 0.566 GB, free: 8.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.6096, allocations: 33.8 kB / 0.566 GB, free: 8.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6096, allocations: 0 / 0.566 GB, free: 8.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002892/0.6099, allocations: 121.8 kB / 0.5662 GB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6099, allocations: 8 kB / 0.5662 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6099, allocations: 7.984 kB / 0.5662 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.61, allocations: 8.078 kB / 0.5662 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.6102, allocations: 23.98 kB / 0.5662 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6102, allocations: 4 kB / 0.5662 GB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.6104, allocations: 7.938 kB / 0.5662 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6104, allocations: 7.188 kB / 0.5662 GB, free: 8.676 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.6105, allocations: 123.1 kB / 0.5663 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.6106, allocations: 15.81 kB / 0.5664 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.6109, allocations: 122.4 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.611, allocations: 3.953 kB / 0.5665 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.611, allocations: 0 / 0.5665 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.611, allocations: 192 / 0.5665 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.6112, allocations: 220.3 kB / 0.5667 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6113, allocations: 3.938 kB / 0.5667 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.6114, allocations: 12 kB / 0.5667 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.6115, allocations: 0 / 0.5667 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6115, allocations: 0 / 0.5667 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.6115, allocations: 4 kB / 0.5667 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.6115, allocations: 7.938 kB / 0.5667 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.6119, allocations: 169.6 kB / 0.5669 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.612, allocations: 100.1 kB / 0.567 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.6121, allocations: 4 kB / 0.567 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6122, allocations: 7.75 kB / 0.567 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.6123, allocations: 7.984 kB / 0.567 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.6123, allocations: 7.953 kB / 0.567 GB, free: 7.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.6125, allocations: 153.5 kB / 0.5671 GB, free: 7.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6125, allocations: 0 / 0.5671 GB, free: 7.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.6128, allocations: 35.44 kB / 0.5672 GB, free: 7.711 MB / 378.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001122/0.614, allocations: 382 kB / 0.5675 GB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.6143, allocations: 71.61 kB / 0.5676 GB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6143, allocations: 0 / 0.5676 GB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.6144, allocations: 30.44 kB / 0.5676 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.6148, allocations: 40.05 kB / 0.5677 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.6155, allocations: 217.9 kB / 0.5679 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.6158, allocations: 0.7203 MB / 0.5686 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.6159, allocations: 19.25 kB / 0.5686 GB, free: 6.297 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.616, allocations: 4 kB / 0.5686 GB, free: 6.293 MB / 378.7 MB Notification: Performance of Templates: time 0.006252/0.6222, allocations: 2.16 MB / 0.5707 GB, free: 4.141 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches