Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 108.7 kB / 18.45 MB, free: 4.625 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.001137/0.001137, allocations: 185.2 kB / 19.38 MB, free: 3.703 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.329/1.329, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2081/0.2081, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3912, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002855/0.3941, allocations: 1.639 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000767/0.3949, allocations: 450.7 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.395, allocations: 1.188 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3952, allocations: 56.91 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.3955, allocations: 56.72 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.3959, allocations: 179.3 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3961, allocations: 84.89 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3962, allocations: 25.05 kB / 0.522 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.3963, allocations: 33.64 kB / 0.522 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3964, allocations: 45.83 kB / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3964, allocations: 8.688 kB / 0.5221 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3965, allocations: 47.02 kB / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.3966, allocations: 25.69 kB / 0.5222 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3966, allocations: 32.8 kB / 0.5222 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3968, allocations: 107.5 kB / 0.5223 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3968, allocations: 0 / 0.5223 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3968, allocations: 0.9062 kB / 0.5223 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3968, allocations: 0 / 0.5223 GB, free: 1.887 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004231/0.3973, allocations: 414.3 kB / 0.5227 GB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3973, allocations: 14.53 kB / 0.5227 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3974, allocations: 9.375 kB / 0.5227 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3975, allocations: 198.3 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3975, allocations: 6.062 kB / 0.5229 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3976, allocations: 7.719 kB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3977, allocations: 65.92 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3978, allocations: 1.156 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3978, allocations: 4 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3978, allocations: 1.766 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3979, allocations: 43.52 kB / 0.523 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.3983, allocations: 325.3 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.3986, allocations: 56.38 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.3987, allocations: 31.47 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3987, allocations: 0 / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3987, allocations: 36.48 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3987, allocations: 0 / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001551/0.4003, allocations: 422.2 kB / 0.5239 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.4003, allocations: 61.25 kB / 0.5239 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.4005, allocations: 184.8 kB / 0.5241 GB, free: 492 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4006, allocations: 26.73 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.4006, allocations: 103.8 kB / 0.5242 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4007, allocations: 44.16 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.4007, allocations: 26.59 kB / 0.5243 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4009, allocations: 321.7 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.401, allocations: 59.27 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4012, allocations: 52.92 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.4015, allocations: 130.2 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4015, allocations: 1.625 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003837/0.4019, allocations: 161.1 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.402, allocations: 4.625 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.402, allocations: 1.875 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.402, allocations: 0 / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4021, allocations: 29.58 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4021, allocations: 1.656 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.4022, allocations: 8.031 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4022, allocations: 4.062 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001296/0.4024, allocations: 136.1 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.4024, allocations: 12.98 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.4029, allocations: 187.5 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4029, allocations: 10.05 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4029, allocations: 1.344 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4029, allocations: 1.125 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.4037, allocations: 0.4902 MB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4037, allocations: 0 / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4038, allocations: 34.05 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4038, allocations: 1.375 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4039, allocations: 7.375 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4039, allocations: 1.375 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4039, allocations: 0.6094 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.4043, allocations: 279.2 kB / 0.5261 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.4043, allocations: 84.66 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.4044, allocations: 2.219 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.4045, allocations: 14.02 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4045, allocations: 13.09 kB / 0.5263 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4045, allocations: 2.75 kB / 0.5263 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.4047, allocations: 143.9 kB / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4047, allocations: 96 / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4049, allocations: 28.33 kB / 0.5264 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001042/0.406, allocations: 451.2 kB / 0.5269 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003803/0.4064, allocations: 134.9 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4064, allocations: 0 / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.4066, allocations: 70.44 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.407, allocations: 36.34 kB / 0.5271 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.4075, allocations: 326.7 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.4079, allocations: 0.7134 MB / 0.5281 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.4079, allocations: 20.69 kB / 0.5281 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4079, allocations: 0 / 0.5281 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Templates: time 0.004031/0.412, allocations: 2.015 MB / 0.5301 GB, free: 12.62 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches