Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 179.6 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.293/1.293, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008591/0.0008591, allocations: 98.73 kB / 287 MB, free: 236 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.1878/0.1878, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.986e-05, allocations: 8 kB / 451.8 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 61.92 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4515, allocations: 89.27 MB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4518, allocations: 72.05 kB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.4683, allocations: 6.225 MB / 0.595 GB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4684, allocations: 4 kB / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4684, allocations: 7.938 kB / 0.595 GB, free: 9.727 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004705/0.4689, allocations: 410.2 kB / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4689, allocations: 8.031 kB / 0.5954 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.469, allocations: 11.81 kB / 0.5955 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.4693, allocations: 227.5 kB / 0.5957 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4693, allocations: 7.953 kB / 0.5957 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4694, allocations: 11.92 kB / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4695, allocations: 73.67 kB / 0.5958 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4695, allocations: 3.906 kB / 0.5958 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4696, allocations: 3.984 kB / 0.5958 GB, free: 8.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4696, allocations: 4 kB / 0.5958 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.4697, allocations: 51.91 kB / 0.5958 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.4702, allocations: 324.8 kB / 0.5961 GB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.4704, allocations: 90.48 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.4705, allocations: 36.84 kB / 0.5963 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.4705, allocations: 4.031 kB / 0.5963 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4707, allocations: 79.39 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.4707, allocations: 0 / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006763/0.4713, allocations: 265.1 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4714, allocations: 51.41 kB / 0.5966 GB, free: 7.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.4716, allocations: 187.6 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4716, allocations: 34.25 kB / 0.5968 GB, free: 7.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.4717, allocations: 96.38 kB / 0.5969 GB, free: 7.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.4718, allocations: 43.45 kB / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4718, allocations: 0 / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4719, allocations: 330.8 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.472, allocations: 32 kB / 0.5973 GB, free: 7.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.4721, allocations: 66.48 kB / 0.5974 GB, free: 7.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.4722, allocations: 41.36 kB / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4722, allocations: 0 / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002326/0.4724, allocations: 161.4 kB / 0.5976 GB, free: 6.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4724, allocations: 4 kB / 0.5976 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4724, allocations: 4 kB / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4725, allocations: 0 / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.4726, allocations: 23.98 kB / 0.5976 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4726, allocations: 0 / 0.5976 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.4726, allocations: 8.031 kB / 0.5976 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4727, allocations: 11.95 kB / 0.5976 GB, free: 6.848 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 (15): * Single equations (assignments): 15 * 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 7.853e-05/0.4727, allocations: 113.6 kB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.4728, allocations: 11.81 kB / 0.5978 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.4731, allocations: 183.9 kB / 0.5979 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4731, allocations: 4 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4731, allocations: 0 / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4731, allocations: 3.984 kB / 0.5979 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.4737, allocations: 0.5189 MB / 0.5984 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4737, allocations: 0 / 0.5984 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.4738, allocations: 27.98 kB / 0.5985 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4738, allocations: 0 / 0.5985 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.4738, allocations: 11.94 kB / 0.5985 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4738, allocations: 7.938 kB / 0.5985 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4739, allocations: 7.938 kB / 0.5985 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4741, allocations: 287.5 kB / 0.5988 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.4742, allocations: 100.9 kB / 0.5989 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4743, allocations: 8 kB / 0.5989 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.4744, allocations: 11.98 kB / 0.5989 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.4744, allocations: 15.97 kB / 0.5989 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4744, allocations: 4 kB / 0.5989 GB, free: 5.422 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.4746, allocations: 144.9 kB / 0.599 GB, free: 5.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4746, allocations: 0 / 0.599 GB, free: 5.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.4748, allocations: 43.94 kB / 0.5991 GB, free: 5.238 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001046/0.4759, allocations: 477.7 kB / 0.5995 GB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.4761, allocations: 111.9 kB / 0.5996 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4761, allocations: 0 / 0.5996 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.4762, allocations: 55.94 kB / 0.5997 GB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4765, allocations: 31.06 kB / 0.5997 GB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.4769, allocations: 208.7 kB / 0.5999 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4772, allocations: 0.7321 MB / 0.6006 GB, free: 3.715 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.69e-05/0.4773, allocations: 25.19 kB / 0.6007 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.4774, allocations: 23.42 kB / 0.6007 GB, free: 3.668 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4774, allocations: 0 / 0.6007 GB, free: 3.668 MB / 410.7 MB Notification: Performance of Templates: time 0.004593/0.482, allocations: 2.147 MB / 0.6028 GB, free: 1.535 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches