Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 112.8 kB / 17.78 MB, free: 5.273 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.001688/0.001689, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.422/1.422, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2089/0.2089, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3759, allocations: 60.82 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003039/0.379, allocations: 1.702 MB / 0.5207 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3804, allocations: 0.8849 MB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.3805, allocations: 0.9375 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.3808, allocations: 47.02 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.3811, allocations: 72.7 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.3814, allocations: 105.6 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.3816, allocations: 95.16 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3817, allocations: 12.05 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.3818, allocations: 42.39 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.3819, allocations: 26.41 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3819, allocations: 2.906 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.382, allocations: 46.27 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.3821, allocations: 31.94 kB / 0.522 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.3822, allocations: 39.47 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3824, allocations: 132.1 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3824, allocations: 1.062 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3824, allocations: 0 / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3825, allocations: 0 / 0.5221 GB, free: 1.531 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.0005443/0.383, allocations: 442.8 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3831, allocations: 8.75 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.3831, allocations: 15.66 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3834, allocations: 222.2 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3834, allocations: 2.594 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3834, allocations: 6.906 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3836, allocations: 58.11 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3836, allocations: 0 / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3836, allocations: 1.219 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3836, allocations: 0.8906 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.3837, allocations: 17.89 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3841, allocations: 301.5 kB / 0.5232 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3843, allocations: 60.22 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.3843, allocations: 19.8 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3844, allocations: 1.906 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.3845, allocations: 70.08 kB / 0.5233 GB, free: 424 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3845, allocations: 0 / 0.5233 GB, free: 424 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005129/0.385, allocations: 178.6 kB / 0.5235 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3851, allocations: 57.03 kB / 0.5235 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3853, allocations: 259.1 kB / 0.5238 GB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.3853, allocations: 30.73 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3854, allocations: 114.5 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3854, allocations: 25.89 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3855, allocations: 26.17 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3856, allocations: 332.9 kB / 0.5243 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.3857, allocations: 17.95 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.3858, allocations: 43.02 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3859, allocations: 62.12 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3859, allocations: 4 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.3861, allocations: 106.6 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3861, allocations: 6.438 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3861, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3861, allocations: 1.906 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.3862, allocations: 20.39 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3862, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.3863, allocations: 7.297 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3863, allocations: 7.531 kB / 0.5246 GB, free: 15.45 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.0001169/0.3864, allocations: 140.5 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3865, allocations: 14.62 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.3865, allocations: 19.91 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3865, allocations: 5.391 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3865, allocations: 0 / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3865, allocations: 5.906 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.387, allocations: 402.3 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3871, allocations: 32 / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.3871, allocations: 13.14 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3871, allocations: 1.219 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3871, allocations: 5.547 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.3871, allocations: 2.234 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3871, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3874, allocations: 207.9 kB / 0.5253 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3875, allocations: 93.34 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3875, allocations: 6.312 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.3876, allocations: 6.656 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3876, allocations: 9.891 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3876, allocations: 4.297 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.3879, allocations: 203.4 kB / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3879, allocations: 0 / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3881, allocations: 23.27 kB / 0.5257 GB, free: 14.53 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.00114/0.3893, allocations: 466 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3895, allocations: 64.67 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3895, allocations: 0 / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.3896, allocations: 32.5 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3899, allocations: 31.61 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.3905, allocations: 276.2 kB / 0.5265 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3908, allocations: 0.7193 MB / 0.5272 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.3908, allocations: 21.19 kB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3909, allocations: 16.47 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3909, allocations: 3.938 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Templates: time 0.004499/0.3954, allocations: 1.751 MB / 0.529 GB, free: 12.73 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches