Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 110.8 kB / 18.45 MB, free: 4.465 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.001314/0.001314, allocations: 183 kB / 19.39 MB, free: 3.539 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.291/1.291, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.1957/0.1957, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2853, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002563/0.2879, allocations: 1.571 MB / 0.5211 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006081/0.2885, allocations: 404.8 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.2886, allocations: 1.062 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.2888, allocations: 29.08 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.289, allocations: 32.88 kB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.2892, allocations: 122.8 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2894, allocations: 52.17 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.2894, allocations: 17.06 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.2895, allocations: 17.36 kB / 0.5218 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.2895, allocations: 24.77 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2896, allocations: 7.344 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.2896, allocations: 29.28 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.2897, allocations: 23.91 kB / 0.5218 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.2897, allocations: 21.19 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2899, allocations: 76.77 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2899, allocations: 0.7031 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2899, allocations: 1.062 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2899, allocations: 0 / 0.5219 GB, free: 2.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003383/0.2902, allocations: 384.1 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2903, allocations: 8.875 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.2903, allocations: 16 kB / 0.5223 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2905, allocations: 199.8 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.2905, allocations: 1.5 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2905, allocations: 3.312 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.2906, allocations: 53.22 kB / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2907, allocations: 1.5 kB / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.2907, allocations: 0 / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2907, allocations: 0 / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.2908, allocations: 28.52 kB / 0.5226 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.2911, allocations: 289.9 kB / 0.5229 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.2913, allocations: 41.28 kB / 0.5229 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.2913, allocations: 22.77 kB / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2913, allocations: 1.422 kB / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2914, allocations: 32.38 kB / 0.523 GB, free: 1.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2914, allocations: 4 kB / 0.523 GB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004923/0.2919, allocations: 146.6 kB / 0.5231 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/0.2919, allocations: 53.64 kB / 0.5232 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.292, allocations: 163.6 kB / 0.5233 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.292, allocations: 26.86 kB / 0.5234 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.2921, allocations: 105.9 kB / 0.5235 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.2921, allocations: 15.55 kB / 0.5235 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.2921, allocations: 19.33 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.2922, allocations: 327.8 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.2923, allocations: 20.69 kB / 0.5238 GB, free: 272 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.2923, allocations: 20.97 kB / 0.5238 GB, free: 268 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.2925, allocations: 51.84 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2925, allocations: 4 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/0.2926, allocations: 81.23 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2927, allocations: 6.016 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2927, allocations: 1.125 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2927, allocations: 0 / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.2928, allocations: 20.11 kB / 0.524 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2928, allocations: 5.062 kB / 0.524 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.2928, allocations: 4.609 kB / 0.524 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2928, allocations: 1.5 kB / 0.524 GB, free: 188 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 (5): * Single equations (assignments): 5 * 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 5.723e-05/0.2929, allocations: 132 kB / 0.5241 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.2929, allocations: 7.234 kB / 0.5241 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.2932, allocations: 99.45 kB / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2932, allocations: 0 / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2932, allocations: 1.703 kB / 0.5242 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.2932, allocations: 84.17 kB / 0.5243 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2933, allocations: 3.938 kB / 0.5243 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.2933, allocations: 8.938 kB / 0.5243 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2934, allocations: 9.094 kB / 0.5243 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000216/0.2936, allocations: 163.1 kB / 0.5245 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000253/0.2938, allocations: 253.1 kB / 0.5247 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.406e-05/0.2939, allocations: 31.31 kB / 0.5248 GB, free: 15.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.2941, allocations: 138.7 kB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of Backend: time 2.3e-07/0.2941, allocations: 0 / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2952, allocations: 415.1 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004994/0.2958, allocations: 0.6245 MB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Templates: time 0.003677/0.2994, allocations: 1.263 MB / 0.5271 GB, free: 14.45 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches