Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, 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.237/1.237, allocations: 221.3 MB / 236 MB, free: 2.953 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.0008296/0.0008297, allocations: 99.48 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.1777/0.1777, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.595e-05, allocations: 4.219 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.4981, allocations: 89.23 MB / 0.5888 GB, free: 80 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4984, allocations: 67.97 kB / 0.5889 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.5132, allocations: 5.572 MB / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5132, allocations: 0 / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.5132, allocations: 0 / 0.5944 GB, free: 10.45 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004667/0.5137, allocations: 402.3 kB / 0.5947 GB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5137, allocations: 8.031 kB / 0.5947 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.5138, allocations: 15.84 kB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.5141, allocations: 206.8 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5141, allocations: 11.95 kB / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5142, allocations: 0 / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.5143, allocations: 53.69 kB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5143, allocations: 7.984 kB / 0.595 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.5143, allocations: 4 kB / 0.595 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5143, allocations: 3.938 kB / 0.595 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/0.5144, allocations: 19.94 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.5148, allocations: 292.9 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5149, allocations: 54.69 kB / 0.5954 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.515, allocations: 24.92 kB / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.515, allocations: 0 / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.5152, allocations: 67.39 kB / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5152, allocations: 0 / 0.5955 GB, free: 9.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004269/0.5156, allocations: 157.2 kB / 0.5956 GB, free: 8.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.5156, allocations: 51.41 kB / 0.5957 GB, free: 8.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5158, allocations: 169.4 kB / 0.5958 GB, free: 8.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5158, allocations: 29.7 kB / 0.5959 GB, free: 8.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.5159, allocations: 100.1 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.5159, allocations: 23.7 kB / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.5159, allocations: 0 / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.516, allocations: 326.8 kB / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.5161, allocations: 20 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.5161, allocations: 33.72 kB / 0.5963 GB, free: 8.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.5162, allocations: 23.98 kB / 0.5964 GB, free: 8.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5162, allocations: 4 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001406/0.5163, allocations: 101.4 kB / 0.5965 GB, free: 8.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5163, allocations: 9.094 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.5164, allocations: 3.984 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5164, allocations: 0 / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.5165, allocations: 15.94 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5165, allocations: 4 kB / 0.5965 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.5165, allocations: 3.938 kB / 0.5965 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5166, allocations: 7.984 kB / 0.5965 GB, free: 8.02 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 (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 6.513e-05/0.5166, allocations: 117 kB / 0.5966 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.5166, allocations: 8.094 kB / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.5169, allocations: 118.2 kB / 0.5967 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5169, allocations: 0 / 0.5967 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5169, allocations: 0 / 0.5967 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5169, allocations: 0 / 0.5967 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.5173, allocations: 415.2 kB / 0.5971 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5173, allocations: 4.031 kB / 0.5971 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.5174, allocations: 15.94 kB / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5174, allocations: 0 / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.5174, allocations: 192 / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.5174, allocations: 11.98 kB / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5174, allocations: 0 / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.5176, allocations: 221.9 kB / 0.5974 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.5177, allocations: 85.02 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5177, allocations: 8 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.5178, allocations: 7.969 kB / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.5178, allocations: 11.89 kB / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5178, allocations: 7.984 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.5179, allocations: 141 kB / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.518, allocations: 0 / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.5182, allocations: 31.98 kB / 0.5977 GB, free: 6.73 MB / 410.7 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.000887/0.5191, allocations: 434.8 kB / 0.5981 GB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.5192, allocations: 51.94 kB / 0.5981 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5192, allocations: 8.062 kB / 0.5981 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.5193, allocations: 35.86 kB / 0.5982 GB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.5195, allocations: 27.89 kB / 0.5982 GB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.5199, allocations: 154.9 kB / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5202, allocations: 0.7082 MB / 0.599 GB, free: 5.375 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.5202, allocations: 20.47 kB / 0.5991 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.5203, allocations: 19.44 kB / 0.5991 GB, free: 5.336 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5203, allocations: 0 / 0.5991 GB, free: 5.336 MB / 410.7 MB Notification: Performance of Templates: time 0.003868/0.5241, allocations: 1.696 MB / 0.6007 GB, free: 3.652 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches