Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009894/0.0009895, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.628/1.628, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008973/0.0008975, allocations: 94.86 kB / 270.2 MB, free: 13.35 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.2538/0.2538, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4389/0.5796, allocations: 87.51 MB / 0.5642 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5798, allocations: 74.84 kB / 0.5643 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.594, allocations: 5.283 MB / 0.5694 GB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5941, allocations: 0 / 0.5694 GB, free: 7.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.5941, allocations: 0 / 0.5694 GB, free: 7.762 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.0005995/0.5947, allocations: 426 kB / 0.5699 GB, free: 7.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5948, allocations: 12.03 kB / 0.5699 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.5948, allocations: 7.906 kB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.5951, allocations: 214.3 kB / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.5952, allocations: 0 / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.5952, allocations: 4 kB / 0.5701 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.5954, allocations: 48.36 kB / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5954, allocations: 0 / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5954, allocations: 0 / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5954, allocations: 4 kB / 0.5701 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.5955, allocations: 19.23 kB / 0.5702 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.5958, allocations: 195.8 kB / 0.5703 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.596, allocations: 53.31 kB / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.596, allocations: 0 / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.5962, allocations: 74.84 kB / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.5962, allocations: 0 / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003089/0.5965, allocations: 95.45 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.5966, allocations: 59.41 kB / 0.5706 GB, free: 6.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.5968, allocations: 190 kB / 0.5708 GB, free: 6.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5968, allocations: 25.7 kB / 0.5708 GB, free: 6.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.5969, allocations: 110.3 kB / 0.5709 GB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.5969, allocations: 19.73 kB / 0.5709 GB, free: 6.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.5969, allocations: 0 / 0.5709 GB, free: 6.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5971, allocations: 328.8 kB / 0.5713 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.5971, allocations: 15.86 kB / 0.5713 GB, free: 5.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.5972, allocations: 36.83 kB / 0.5713 GB, free: 5.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.5973, allocations: 18.75 kB / 0.5713 GB, free: 5.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5973, allocations: 3.953 kB / 0.5713 GB, free: 5.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.5974, allocations: 80.58 kB / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5975, allocations: 6.656 kB / 0.5714 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5975, allocations: 0 / 0.5714 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5975, allocations: 3.984 kB / 0.5714 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.5976, allocations: 19.16 kB / 0.5714 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5976, allocations: 4 kB / 0.5714 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.5976, allocations: 3.984 kB / 0.5714 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5977, allocations: 4 kB / 0.5714 GB, free: 5.652 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 () * 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 0.0001334/0.5978, allocations: 128.8 kB / 0.5716 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.5978, allocations: 19.75 kB / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.598, allocations: 95.92 kB / 0.5717 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5981, allocations: 0 / 0.5717 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5981, allocations: 4 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5981, allocations: 0 / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.5983, allocations: 195.5 kB / 0.5719 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5983, allocations: 0 / 0.5719 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.5983, allocations: 7.953 kB / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5983, allocations: 0 / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.5983, allocations: 4 kB / 0.5719 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5983, allocations: 0 / 0.5719 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5984, allocations: 0 / 0.5719 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.5986, allocations: 121.8 kB / 0.572 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.5987, allocations: 95.69 kB / 0.5721 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.5987, allocations: 3.953 kB / 0.5721 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.5987, allocations: 4 kB / 0.5721 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.5988, allocations: 11.73 kB / 0.5721 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.5988, allocations: 4 kB / 0.5721 GB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.5989, allocations: 153.5 kB / 0.5723 GB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5989, allocations: 3.938 kB / 0.5723 GB, free: 4.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.5992, allocations: 30.61 kB / 0.5723 GB, free: 4.77 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) * 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.0009327/0.6001, allocations: 418 kB / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.6003, allocations: 42.67 kB / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6003, allocations: 0 / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.6003, allocations: 27.55 kB / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.6005, allocations: 18.73 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.601, allocations: 245.4 kB / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.6014, allocations: 0.7043 MB / 0.5737 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.6015, allocations: 24.41 kB / 0.5737 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.6015, allocations: 15 kB / 0.5737 GB, free: 3.328 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6015, allocations: 0 / 0.5737 GB, free: 3.328 MB / 378.7 MB Notification: Performance of Templates: time 0.004341/0.6059, allocations: 1.503 MB / 0.5752 GB, free: 1.836 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches