Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002256/0.002256, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 92.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2925/0.2925, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.272e-05, allocations: 12.22 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5688, allocations: 86.92 MB / 0.5508 GB, free: 12.37 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5692, allocations: 75.95 kB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.5937, allocations: 5.271 MB / 0.556 GB, free: 7.031 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5938, allocations: 0 / 0.556 GB, free: 7.031 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.5938, allocations: 3.938 kB / 0.556 GB, free: 7.027 MB / 395.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.0006305/0.5945, allocations: 406.2 kB / 0.5564 GB, free: 6.586 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5945, allocations: 8.031 kB / 0.5564 GB, free: 6.578 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.5946, allocations: 19.81 kB / 0.5564 GB, free: 6.559 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.595, allocations: 211.5 kB / 0.5566 GB, free: 6.309 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5951, allocations: 0 / 0.5566 GB, free: 6.309 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.5951, allocations: 4 kB / 0.5566 GB, free: 6.305 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.5952, allocations: 12 kB / 0.5567 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.5954, allocations: 53.67 kB / 0.5567 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5954, allocations: 0 / 0.5567 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.5954, allocations: 11.92 kB / 0.5567 GB, free: 6.223 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5954, allocations: 3.938 kB / 0.5567 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.596, allocations: 273.5 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.5961, allocations: 46.69 kB / 0.557 GB, free: 5.859 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.5962, allocations: 16.98 kB / 0.557 GB, free: 5.84 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5962, allocations: 3.984 kB / 0.557 GB, free: 5.836 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.5964, allocations: 71.34 kB / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.5964, allocations: 0 / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006388/0.5971, allocations: 145.2 kB / 0.5573 GB, free: 5.605 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5971, allocations: 55.41 kB / 0.5573 GB, free: 5.539 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.5974, allocations: 182.4 kB / 0.5575 GB, free: 5.348 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.5974, allocations: 25.7 kB / 0.5575 GB, free: 5.316 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.5975, allocations: 162.6 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.5976, allocations: 27.64 kB / 0.5577 GB, free: 5.129 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-06/0.5976, allocations: 4 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5978, allocations: 318.8 kB / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.5978, allocations: 16 kB / 0.558 GB, free: 4.789 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.5979, allocations: 33.7 kB / 0.558 GB, free: 4.75 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.598, allocations: 23.98 kB / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.598, allocations: 0 / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002177/0.5982, allocations: 81.62 kB / 0.5581 GB, free: 4.641 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5983, allocations: 4 kB / 0.5581 GB, free: 4.637 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5983, allocations: 4.031 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5983, allocations: 4 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.5985, allocations: 15.98 kB / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.5985, allocations: 0 / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.5986, allocations: 4 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.5986, allocations: 11.95 kB / 0.5582 GB, free: 4.598 MB / 395.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 ($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 (10): * Single equations (assignments): 10 * 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.613e-05/0.5987, allocations: 101 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.5988, allocations: 15.81 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.5991, allocations: 115.4 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5992, allocations: 0 / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5992, allocations: 288 / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5992, allocations: 192 / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.5998, allocations: 383.8 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.5998, allocations: 7.938 kB / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.5999, allocations: 11.98 kB / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5999, allocations: 0 / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6, allocations: 0 / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6, allocations: 8.031 kB / 0.5588 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6, allocations: 3.938 kB / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.6003, allocations: 213.9 kB / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.6004, allocations: 93 kB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.6005, allocations: 0 / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.6006, allocations: 8 kB / 0.5591 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.6007, allocations: 23.86 kB / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.6007, allocations: 3.938 kB / 0.5591 GB, free: 3.527 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.6009, allocations: 144.9 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6009, allocations: 0 / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.6013, allocations: 31.94 kB / 0.5593 GB, free: 3.355 MB / 395.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00116/0.6025, allocations: 388.2 kB / 0.5597 GB, free: 3.02 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.6027, allocations: 51.92 kB / 0.5597 GB, free: 2.969 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6027, allocations: 4 kB / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.6028, allocations: 32 kB / 0.5598 GB, free: 2.934 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.6033, allocations: 31.38 kB / 0.5598 GB, free: 2.906 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.6038, allocations: 195.8 kB / 0.56 GB, free: 2.688 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.6042, allocations: 0.708 MB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.6043, allocations: 19.42 kB / 0.5607 GB, free: 1.934 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6043, allocations: 4.062 kB / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of Templates: time 0.005754/0.61, allocations: 1.946 MB / 0.5626 GB, free: 15.98 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches