Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002263/0.002263, allocations: 182 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.093/2.093, 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.001093/0.001092, allocations: 86.7 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.2699/0.2699, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.525e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5771, allocations: 87.45 MB / 0.5582 GB, free: 172 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5774, allocations: 85.19 kB / 0.5583 GB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02394/0.6013, allocations: 5.523 MB / 0.5637 GB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6014, allocations: 0 / 0.5637 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.6014, allocations: 0 / 0.5637 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006137/0.602, allocations: 417.7 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6021, allocations: 8.031 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.6022, allocations: 11.91 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.6026, allocations: 230.4 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.6027, allocations: 4 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.6027, allocations: 0 / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6028, allocations: 49.56 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6029, allocations: 0 / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.6029, allocations: 0 / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6029, allocations: 0 / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.603, allocations: 23.72 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.6032, allocations: 196.6 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.6034, allocations: 50.44 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.6035, allocations: 16.61 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.6035, allocations: 0 / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.6037, allocations: 66.98 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.994e-06/0.6037, allocations: 0 / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000285/0.604, allocations: 85 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.6041, allocations: 55.41 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.6045, allocations: 235.2 kB / 0.5651 GB, free: 9.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.6045, allocations: 28.64 kB / 0.5651 GB, free: 9.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.6046, allocations: 167.2 kB / 0.5652 GB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.6046, allocations: 10.62 kB / 0.5653 GB, free: 9.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.6047, allocations: 4 kB / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.6048, allocations: 318 kB / 0.5656 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.6049, allocations: 14.94 kB / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.6049, allocations: 32.02 kB / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.092e-05/0.605, allocations: 22.33 kB / 0.5656 GB, free: 9.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.605, allocations: 0 / 0.5656 GB, free: 9.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001805/0.6052, allocations: 67.17 kB / 0.5657 GB, free: 9.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6052, allocations: 8 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6053, allocations: 7.938 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6053, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.6055, allocations: 15.97 kB / 0.5657 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6055, allocations: 0 / 0.5657 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.505e-05/0.6056, allocations: 7.062 kB / 0.5657 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.6056, allocations: 4 kB / 0.5657 GB, free: 9.262 MB / 378.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 () * 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.269e-05/0.6057, allocations: 111.7 kB / 0.5658 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.6058, allocations: 15.81 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.6061, allocations: 93.86 kB / 0.5659 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6061, allocations: 0 / 0.5659 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6061, allocations: 4 kB / 0.5659 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.6061, allocations: 4 kB / 0.566 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.6064, allocations: 206 kB / 0.5661 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6064, allocations: 3.953 kB / 0.5662 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.6065, allocations: 8 kB / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6065, allocations: 0 / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.6065, allocations: 3.625 kB / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.6065, allocations: 0 / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6065, allocations: 0 / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.6068, allocations: 119 kB / 0.5663 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6069, allocations: 100.9 kB / 0.5664 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.6069, allocations: 2.875 kB / 0.5664 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.607, allocations: 4 kB / 0.5664 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.6071, allocations: 4 kB / 0.5664 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6071, allocations: 7.922 kB / 0.5664 GB, free: 8.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.6074, allocations: 198.8 kB / 0.5666 GB, free: 8.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6074, allocations: 0 / 0.5666 GB, free: 8.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.6077, allocations: 23.44 kB / 0.5666 GB, free: 8.355 MB / 378.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) * 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.001111/0.6088, allocations: 393.2 kB / 0.567 GB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.609, allocations: 47.8 kB / 0.567 GB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6091, allocations: 0 / 0.567 GB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.6091, allocations: 19.81 kB / 0.567 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.6095, allocations: 27.66 kB / 0.5671 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.6101, allocations: 233.7 kB / 0.5673 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6105, allocations: 0.7276 MB / 0.568 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.6106, allocations: 15.44 kB / 0.568 GB, free: 6.961 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6106, allocations: 0 / 0.568 GB, free: 6.961 MB / 378.7 MB Notification: Performance of Templates: time 0.005568/0.6161, allocations: 1.925 MB / 0.5699 GB, free: 5.043 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches