Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001518/0.001518, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.343/1.343, 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.2055/0.2055, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4127, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003308/0.4161, allocations: 1.716 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.4174, allocations: 0.8974 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.4175, allocations: 4.969 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.4178, allocations: 28.28 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.4181, allocations: 57.61 kB / 0.5216 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.4184, allocations: 110.7 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.4186, allocations: 101.7 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4187, allocations: 11.92 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.447e-05/0.4187, allocations: 42.31 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.4188, allocations: 37.88 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4189, allocations: 3.875 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.419, allocations: 62.23 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.4191, allocations: 18.11 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.4191, allocations: 37.75 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.4194, allocations: 126.5 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4194, allocations: 4.75 kB / 0.5222 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4194, allocations: 0 / 0.5222 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4194, allocations: 0 / 0.5222 GB, free: 1.52 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.000478/0.4199, allocations: 417.8 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.42, allocations: 14.66 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.42, allocations: 9.172 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4202, allocations: 209.8 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4202, allocations: 1.594 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4203, allocations: 8.328 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.4204, allocations: 78.53 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4205, allocations: 0 / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4205, allocations: 1.75 kB / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4205, allocations: 0 / 0.5229 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.4206, allocations: 19.34 kB / 0.5229 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.4209, allocations: 271 kB / 0.5231 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4211, allocations: 71.33 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.4211, allocations: 28.41 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4212, allocations: 6.203 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.4213, allocations: 68.47 kB / 0.5233 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4213, allocations: 0 / 0.5233 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006094/0.422, allocations: 206 kB / 0.5235 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.422, allocations: 84.19 kB / 0.5236 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.4222, allocations: 162.3 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.4222, allocations: 26.98 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.4222, allocations: 99.08 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.4223, allocations: 30.81 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.4223, allocations: 23.97 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4225, allocations: 325.5 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.4226, allocations: 27.88 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.4227, allocations: 60.66 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4228, allocations: 80.7 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4228, allocations: 1.125 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002209/0.4231, allocations: 119.8 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4231, allocations: 5.5 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4231, allocations: 0 / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4231, allocations: 5.75 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4232, allocations: 31.95 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4233, allocations: 2.312 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.4233, allocations: 3.609 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4233, allocations: 7.906 kB / 0.5246 GB, free: 15.42 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 (13): * Single equations (assignments): 13 * 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.0001106/0.4234, allocations: 117.6 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4235, allocations: 10.72 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.4235, allocations: 16.84 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4235, allocations: 13.28 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4235, allocations: 0.6094 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4236, allocations: 2.172 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.4241, allocations: 426.6 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4241, allocations: 0.5625 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.4241, allocations: 12.3 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4241, allocations: 0.8438 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4242, allocations: 5.719 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4242, allocations: 6.641 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4242, allocations: 0 / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.4244, allocations: 221 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.4245, allocations: 84.48 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4245, allocations: 7.375 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.4246, allocations: 3.734 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.4246, allocations: 10.48 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4247, allocations: 4.859 kB / 0.5255 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.282e-05/0.4248, allocations: 123 kB / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4248, allocations: 0 / 0.5256 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.425, allocations: 33.92 kB / 0.5256 GB, free: 14.52 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 (10): * Single equations (assignments): 8 * 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.001157/0.4262, allocations: 0.5058 MB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.4264, allocations: 81.92 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4265, allocations: 0 / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.4265, allocations: 37.58 kB / 0.5262 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.4269, allocations: 32.62 kB / 0.5262 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.4273, allocations: 220.1 kB / 0.5265 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4276, allocations: 0.7087 MB / 0.5271 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.4277, allocations: 22.72 kB / 0.5272 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.4278, allocations: 20.33 kB / 0.5272 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4278, allocations: 0 / 0.5272 GB, free: 13.34 MB / 398.1 MB Notification: Performance of Templates: time 0.005243/0.433, allocations: 2.116 MB / 0.5293 GB, free: 12.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches