Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001136/0.001136, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2116/0.2116, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3764, allocations: 60.82 MB / 0.519 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002664/0.3791, allocations: 1.715 MB / 0.5207 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3804, allocations: 0.8718 MB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.3804, allocations: 7.938 kB / 0.5215 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3807, allocations: 35.09 kB / 0.5216 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.381, allocations: 52.97 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.3813, allocations: 109.9 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3814, allocations: 100.6 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.3815, allocations: 6.984 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.3816, allocations: 46.48 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.3817, allocations: 28.89 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3817, allocations: 3.281 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3818, allocations: 42.81 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.3819, allocations: 21.67 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.382, allocations: 28.47 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3822, allocations: 110.6 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3822, allocations: 3.938 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3822, allocations: 1.188 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3823, allocations: 0.75 kB / 0.5221 GB, free: 1.562 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.0005272/0.3828, allocations: 412.2 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3828, allocations: 9.672 kB / 0.5225 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3829, allocations: 13.34 kB / 0.5225 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3831, allocations: 205.8 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3832, allocations: 3.344 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3832, allocations: 6.312 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3833, allocations: 54.41 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3834, allocations: 3.938 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3834, allocations: 1.062 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3834, allocations: 4 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.3835, allocations: 18.3 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.3838, allocations: 285.6 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.384, allocations: 56.12 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.3841, allocations: 29.12 kB / 0.5231 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3841, allocations: 5.188 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.3842, allocations: 65.69 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.3842, allocations: 0 / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.3848, allocations: 172.5 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.3848, allocations: 56.94 kB / 0.5234 GB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.385, allocations: 170.2 kB / 0.5236 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.385, allocations: 33.7 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.3851, allocations: 95.19 kB / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3851, allocations: 25.59 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3851, allocations: 26.66 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3853, allocations: 325.1 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.3853, allocations: 26.11 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.3854, allocations: 39.34 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3855, allocations: 65.19 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3856, allocations: 0 / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.3857, allocations: 101.7 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3858, allocations: 5.438 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3858, allocations: 1.984 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3858, allocations: 1.125 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.3859, allocations: 14.7 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3859, allocations: 1.156 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.386, allocations: 14.66 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.386, allocations: 7.641 kB / 0.5243 GB, free: 15.55 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.0001112/0.3861, allocations: 123.4 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.3861, allocations: 13.25 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.3862, allocations: 18.66 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3862, allocations: 1.188 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3862, allocations: 1.891 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3862, allocations: 3.938 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.3867, allocations: 388.3 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3867, allocations: 1.156 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.3867, allocations: 12.66 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3868, allocations: 1.469 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3868, allocations: 6.641 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3868, allocations: 1.125 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3868, allocations: 1.438 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.387, allocations: 205 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3871, allocations: 87.36 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3871, allocations: 8.062 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3872, allocations: 3.25 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.3872, allocations: 7.703 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3872, allocations: 8.281 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3874, allocations: 132.1 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.374e-06/0.3874, allocations: 4 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3877, allocations: 26.69 kB / 0.5253 GB, free: 14.67 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.0009982/0.3887, allocations: 468.6 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.3888, allocations: 60.86 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3889, allocations: 0 / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.3889, allocations: 33.23 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.0003227/0.3893, allocations: 25.33 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.3897, allocations: 211 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3901, allocations: 0.7074 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.614e-05/0.3901, allocations: 12.94 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.3902, allocations: 16.84 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3902, allocations: 0 / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.004637/0.3948, allocations: 1.717 MB / 0.5285 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches