Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 101.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1761/0.1761, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.341e-05, allocations: 8.203 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4673, allocations: 89.03 MB / 0.5887 GB, free: 296 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4677, allocations: 75.95 kB / 0.5887 GB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.4825, allocations: 5.413 MB / 0.594 GB, free: 10.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4825, allocations: 0 / 0.594 GB, free: 10.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4825, allocations: 4 kB / 0.594 GB, free: 10.81 MB / 410.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.0003909/0.4829, allocations: 382.2 kB / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.483, allocations: 12.03 kB / 0.5944 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.483, allocations: 11.89 kB / 0.5944 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4833, allocations: 206.8 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4833, allocations: 0 / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.4834, allocations: 3.953 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4835, allocations: 53.67 kB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4835, allocations: 4 kB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4835, allocations: 0 / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4835, allocations: 0 / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.512e-05/0.4836, allocations: 27.86 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.4838, allocations: 177.7 kB / 0.5949 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.4839, allocations: 46.62 kB / 0.5949 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.4839, allocations: 16.86 kB / 0.5949 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.484, allocations: 7.938 kB / 0.5949 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.4841, allocations: 75.47 kB / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4841, allocations: 0 / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001982/0.4843, allocations: 77.53 kB / 0.5951 GB, free: 9.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.4843, allocations: 55.39 kB / 0.5951 GB, free: 9.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4845, allocations: 165.4 kB / 0.5953 GB, free: 9.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4845, allocations: 25.7 kB / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.4846, allocations: 104.1 kB / 0.5954 GB, free: 9.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4846, allocations: 19.75 kB / 0.5954 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.4846, allocations: 0 / 0.5954 GB, free: 9.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4847, allocations: 322.8 kB / 0.5957 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.4848, allocations: 16 kB / 0.5957 GB, free: 8.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.4848, allocations: 25.7 kB / 0.5958 GB, free: 8.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.4849, allocations: 15.98 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4849, allocations: 4 kB / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001185/0.485, allocations: 81.53 kB / 0.5959 GB, free: 8.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.485, allocations: 7.953 kB / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.485, allocations: 0 / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.485, allocations: 4 kB / 0.5959 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/0.4851, allocations: 11.98 kB / 0.5959 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4851, allocations: 3.938 kB / 0.5959 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.4852, allocations: 4 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4852, allocations: 0 / 0.5959 GB, free: 8.66 MB / 410.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 6.551e-05/0.4853, allocations: 113 kB / 0.596 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.4853, allocations: 11.81 kB / 0.596 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.4855, allocations: 101.8 kB / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.4855, allocations: 0 / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4855, allocations: 0 / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4855, allocations: 0 / 0.5961 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.4856, allocations: 189.6 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4856, allocations: 0 / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.4857, allocations: 11.92 kB / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4857, allocations: 8 kB / 0.5963 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4857, allocations: 0 / 0.5963 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4857, allocations: 3.953 kB / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4857, allocations: 0 / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4858, allocations: 113 kB / 0.5964 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4859, allocations: 96.94 kB / 0.5965 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4859, allocations: 7.938 kB / 0.5965 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.486, allocations: 0 / 0.5965 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.486, allocations: 11.95 kB / 0.5965 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.486, allocations: 3.984 kB / 0.5965 GB, free: 7.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4861, allocations: 145 kB / 0.5967 GB, free: 7.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4862, allocations: 0 / 0.5967 GB, free: 7.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.4864, allocations: 31.89 kB / 0.5967 GB, free: 7.727 MB / 410.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.0007725/0.4872, allocations: 373.3 kB / 0.5971 GB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.4873, allocations: 36 kB / 0.5971 GB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4873, allocations: 64 / 0.5971 GB, free: 7.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.4873, allocations: 31.88 kB / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.4875, allocations: 23.97 kB / 0.5972 GB, free: 7.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.4878, allocations: 145.5 kB / 0.5973 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4881, allocations: 0.7004 MB / 0.598 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.4881, allocations: 12.67 kB / 0.598 GB, free: 6.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.4882, allocations: 19.44 kB / 0.598 GB, free: 6.453 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4882, allocations: 0 / 0.598 GB, free: 6.453 MB / 410.7 MB Notification: Performance of Templates: time 0.003506/0.4917, allocations: 1.47 MB / 0.5994 GB, free: 4.992 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches