Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 109.9 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.001175/0.001175, allocations: 185.9 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.298/1.298, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2019/0.2019, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2924, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002362/0.2948, allocations: 1.629 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.2954, allocations: 418 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.2955, allocations: 5.156 kB / 0.5216 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.2958, allocations: 92.7 kB / 0.5217 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.296, allocations: 75.39 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.2962, allocations: 114.3 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2964, allocations: 99.86 kB / 0.522 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2965, allocations: 28.73 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.2966, allocations: 34 kB / 0.522 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.2967, allocations: 63.66 kB / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2967, allocations: 4.031 kB / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.2968, allocations: 44.81 kB / 0.5221 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.2969, allocations: 34.8 kB / 0.5222 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2969, allocations: 37.89 kB / 0.5222 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.2971, allocations: 132.2 kB / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2971, allocations: 0 / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2971, allocations: 0 / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2971, allocations: 0 / 0.5223 GB, free: 1.906 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003675/0.2975, allocations: 426.3 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2975, allocations: 8.844 kB / 0.5227 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.2976, allocations: 15.88 kB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.2977, allocations: 212.6 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.2977, allocations: 3.188 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2977, allocations: 12.89 kB / 0.523 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2979, allocations: 74.22 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2979, allocations: 1 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2979, allocations: 0.5625 kB / 0.523 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2979, allocations: 6.25 kB / 0.523 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.2981, allocations: 41.33 kB / 0.5231 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.2984, allocations: 347.5 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2986, allocations: 65.58 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.2986, allocations: 24.81 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2987, allocations: 5.859 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.2987, allocations: 36.27 kB / 0.5235 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2987, allocations: 4 kB / 0.5235 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009729/0.2997, allocations: 322.7 kB / 0.5239 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.508e-05/0.2997, allocations: 53.81 kB / 0.5239 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.2999, allocations: 231.9 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2999, allocations: 31.17 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.2999, allocations: 115 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3, allocations: 41.09 kB / 0.5243 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3, allocations: 32.31 kB / 0.5243 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.3001, allocations: 323.9 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3002, allocations: 43.81 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3003, allocations: 48.83 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.3005, allocations: 112 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3005, allocations: 0 / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/0.3008, allocations: 160.4 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3008, allocations: 7.781 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3009, allocations: 2.766 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3009, allocations: 7.922 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.301, allocations: 28.14 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.301, allocations: 2.344 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.3011, allocations: 4.812 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3011, allocations: 3.438 kB / 0.525 GB, free: 15.78 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 (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 9.775e-05/0.3012, allocations: 139.5 kB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3012, allocations: 15.98 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.3016, allocations: 181.3 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3016, allocations: 8.5 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3016, allocations: 5.469 kB / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.3017, allocations: 92.97 kB / 0.5255 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3017, allocations: 6.219 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.3018, allocations: 4.172 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3018, allocations: 12.7 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003109/0.3021, allocations: 231.2 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003305/0.3025, allocations: 329.4 kB / 0.526 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001162/0.3026, allocations: 63.83 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.3027, allocations: 166.7 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3027, allocations: 1.375 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.3041, allocations: 0.5164 MB / 0.5268 GB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005922/0.3047, allocations: 0.7009 MB / 0.5274 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Templates: time 0.004249/0.3089, allocations: 1.862 MB / 0.5293 GB, free: 13.33 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches