Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.001094/0.001094, allocations: 182.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.302/1.302, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.1972/0.1972, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.08 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002386/0.2834, allocations: 1.591 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006086/0.2841, allocations: 414.3 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.2841, allocations: 1 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2844, allocations: 92.67 kB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.2846, allocations: 80.03 kB / 0.5217 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2848, allocations: 103.6 kB / 0.5218 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.285, allocations: 75.44 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.2851, allocations: 19.75 kB / 0.5219 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.2851, allocations: 35.62 kB / 0.5219 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.2852, allocations: 57.02 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2853, allocations: 3.156 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.2854, allocations: 36.39 kB / 0.522 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.2854, allocations: 23.27 kB / 0.522 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.2855, allocations: 30.88 kB / 0.5221 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.2856, allocations: 110.3 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2857, allocations: 1.062 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2857, allocations: 0 / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2857, allocations: 0 / 0.5222 GB, free: 2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003506/0.286, allocations: 415.3 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2861, allocations: 12.09 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2861, allocations: 14.03 kB / 0.5226 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2862, allocations: 196.2 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2863, allocations: 1.75 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.2863, allocations: 7.125 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2864, allocations: 56.31 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2864, allocations: 5.781 kB / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2864, allocations: 8 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2865, allocations: 5.094 kB / 0.5229 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.2866, allocations: 26.33 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.2869, allocations: 302.2 kB / 0.5232 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/0.287, allocations: 48.81 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.287, allocations: 24.5 kB / 0.5233 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2871, allocations: 1.5 kB / 0.5233 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.2871, allocations: 31.31 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2871, allocations: 1.438 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008176/0.2879, allocations: 238.6 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.2879, allocations: 52.47 kB / 0.5236 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2881, allocations: 224.2 kB / 0.5238 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.2881, allocations: 30.83 kB / 0.5238 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.2882, allocations: 105 kB / 0.5239 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.2882, allocations: 29.64 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2882, allocations: 25.53 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.2883, allocations: 330.9 kB / 0.5243 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.2884, allocations: 29.7 kB / 0.5243 GB, free: 120 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.2884, allocations: 31.53 kB / 0.5243 GB, free: 112 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2886, allocations: 71.86 kB / 0.5244 GB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2886, allocations: 0 / 0.5244 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002023/0.2888, allocations: 113.3 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2888, allocations: 9.344 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2889, allocations: 0.5156 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2889, allocations: 3.938 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.289, allocations: 22.41 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.289, allocations: 0.75 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.289, allocations: 8.812 kB / 0.5246 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.289, allocations: 2.297 kB / 0.5246 GB, free: 8 kB / 382.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 (8): * Single equations (assignments): 8 * 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.0001027/0.2891, allocations: 130.2 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.2892, allocations: 12.81 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.2895, allocations: 136.8 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2895, allocations: 0.6094 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2895, allocations: 0.7031 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.2896, allocations: 88.44 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2896, allocations: 6.469 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.2897, allocations: 3.688 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2897, allocations: 9.188 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000256/0.29, allocations: 188.8 kB / 0.5251 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002777/0.2902, allocations: 293.5 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.445e-05/0.2904, allocations: 39.7 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.2905, allocations: 178 kB / 0.5256 GB, free: 15.2 MB / 398.1 MB Notification: Performance of Backend: time 2.61e-07/0.2905, allocations: 0 / 0.5256 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.2918, allocations: 499.4 kB / 0.5261 GB, free: 15 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005445/0.2924, allocations: 0.6837 MB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.003872/0.2963, allocations: 1.548 MB / 0.5283 GB, free: 13.88 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches