Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.19 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3816, allocations: 60.82 MB / 0.519 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002961/0.3846, allocations: 1.716 MB / 0.5207 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3859, allocations: 0.8788 MB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.386, allocations: 1.25 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.3863, allocations: 31.12 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.3865, allocations: 63.05 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.3868, allocations: 110 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.387, allocations: 91.03 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3871, allocations: 12.06 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.3872, allocations: 46.12 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.3873, allocations: 26.47 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3873, allocations: 3.344 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3875, allocations: 46.59 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.3875, allocations: 21.78 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3876, allocations: 34.45 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3878, allocations: 115 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3878, allocations: 0.6094 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3878, allocations: 0 / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3878, allocations: 3.938 kB / 0.5221 GB, free: 1.559 MB / 382.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.0004692/0.3883, allocations: 405 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3883, allocations: 9.188 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.3884, allocations: 11.03 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3886, allocations: 213.8 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3886, allocations: 2.078 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3887, allocations: 6.219 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3888, allocations: 58.44 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3888, allocations: 3.906 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3888, allocations: 1.125 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3889, allocations: 5.797 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.3889, allocations: 17.53 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.3893, allocations: 286 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3894, allocations: 60.92 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.3895, allocations: 19.44 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3895, allocations: 1.891 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3897, allocations: 70.16 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3897, allocations: 0 / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005032/0.3902, allocations: 172.5 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3902, allocations: 57.19 kB / 0.5234 GB, free: 332 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3904, allocations: 186.5 kB / 0.5236 GB, free: 200 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3904, allocations: 27.2 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3904, allocations: 103.4 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3905, allocations: 29.92 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.3905, allocations: 25.06 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3907, allocations: 327.5 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3907, allocations: 21.25 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.3908, allocations: 38.23 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3909, allocations: 55.17 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.3909, allocations: 4 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.3911, allocations: 100.6 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3912, allocations: 5.844 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3912, allocations: 0.7969 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3912, allocations: 1.188 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3913, allocations: 15.81 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3913, allocations: 1.125 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.3914, allocations: 11.12 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3914, allocations: 7.281 kB / 0.5243 GB, free: 15.56 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3915, allocations: 136.9 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3915, allocations: 13.95 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3916, allocations: 15.72 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3916, allocations: 1.25 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3916, allocations: 0 / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3916, allocations: 5.75 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.3921, allocations: 393.3 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3921, allocations: 3.938 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.3922, allocations: 14.28 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3922, allocations: 0.6094 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3922, allocations: 6.109 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3922, allocations: 1.719 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3922, allocations: 0.5625 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3925, allocations: 201.1 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3925, allocations: 92.88 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.3925, allocations: 5.953 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.3926, allocations: 6.672 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.3927, allocations: 6.875 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3927, allocations: 3.328 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3928, allocations: 143.1 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3928, allocations: 1.688 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3931, allocations: 25.27 kB / 0.5254 GB, free: 14.66 MB / 398.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.3942, allocations: 467.1 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3944, allocations: 60.23 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3944, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.3945, allocations: 32.14 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3949, allocations: 31.41 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.3954, allocations: 219 kB / 0.5262 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3957, allocations: 0.7043 MB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.3958, allocations: 24.78 kB / 0.5269 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.3958, allocations: 17.33 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3958, allocations: 0 / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004807/0.4007, allocations: 1.741 MB / 0.5286 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches