Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001127/0.001127, allocations: 185.1 kB / 19.38 MB, free: 3.68 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 / 243.1 MB, free: 15.06 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.2099/0.2099, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3828, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003099/0.386, allocations: 1.707 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3882, allocations: 1.492 MB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.3883, allocations: 1.562 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3886, allocations: 40.3 kB / 0.5228 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.3889, allocations: 51.48 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3893, allocations: 113.1 kB / 0.523 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3895, allocations: 100.1 kB / 0.5231 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3896, allocations: 11.44 kB / 0.5231 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3897, allocations: 47.59 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.3899, allocations: 39.53 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3899, allocations: 3.469 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.3901, allocations: 58.86 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.3902, allocations: 19.66 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.3902, allocations: 33.27 kB / 0.5233 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3905, allocations: 121.3 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3905, allocations: 0.75 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3905, allocations: 0 / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3905, allocations: 1.531 kB / 0.5234 GB, free: 1.082 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.0005254/0.3911, allocations: 401.3 kB / 0.5238 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3911, allocations: 9.438 kB / 0.5238 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3912, allocations: 9.906 kB / 0.5238 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3915, allocations: 208.7 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3915, allocations: 3.516 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3915, allocations: 5.938 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3917, allocations: 70.92 kB / 0.5241 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3918, allocations: 4 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3918, allocations: 9.828 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3918, allocations: 0.7812 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.3919, allocations: 22.47 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3922, allocations: 287.2 kB / 0.5244 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3924, allocations: 52.69 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.3925, allocations: 23.55 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3925, allocations: 1.703 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.3927, allocations: 70.34 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3927, allocations: 0 / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.3933, allocations: 166.8 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.3934, allocations: 79.17 kB / 0.5247 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3936, allocations: 157.8 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3936, allocations: 26.77 kB / 0.5249 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.3937, allocations: 98.42 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.3937, allocations: 30.05 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.3938, allocations: 22.72 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3939, allocations: 324.2 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.394, allocations: 21.41 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.3941, allocations: 45.83 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3942, allocations: 57.81 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3942, allocations: 0 / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.3944, allocations: 100.1 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3944, allocations: 10.08 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3944, allocations: 0 / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3944, allocations: 1.281 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.3945, allocations: 21.23 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3945, allocations: 0 / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.3946, allocations: 6.266 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3946, allocations: 8.875 kB / 0.5256 GB, free: 15.05 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 9.894e-05/0.3947, allocations: 117.4 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3947, allocations: 8 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.3948, allocations: 15.8 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3948, allocations: 0.6094 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3948, allocations: 4 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3948, allocations: 4.547 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.3953, allocations: 391.8 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3953, allocations: 1.641 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.3954, allocations: 12.52 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3954, allocations: 1.5 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3954, allocations: 5.797 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3954, allocations: 5.781 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3954, allocations: 5.109 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3957, allocations: 204.2 kB / 0.5264 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3957, allocations: 83.91 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3958, allocations: 7.641 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.3958, allocations: 2.594 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3959, allocations: 10.47 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3959, allocations: 8.203 kB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.396, allocations: 119.8 kB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.396, allocations: 0 / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3963, allocations: 30.52 kB / 0.5266 GB, free: 14.16 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.001197/0.3975, allocations: 0.4992 MB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3977, allocations: 56.97 kB / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3978, allocations: 0 / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.3978, allocations: 28.41 kB / 0.5272 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3982, allocations: 31.67 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3987, allocations: 221.7 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.399, allocations: 0.6964 MB / 0.5281 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.3991, allocations: 21.98 kB / 0.5281 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3991, allocations: 4 kB / 0.5281 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.004434/0.4035, allocations: 2.063 MB / 0.5302 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches