Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 110.6 kB / 18.46 MB, free: 4.598 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.001264/0.001264, allocations: 187.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.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.1939/0.1939, allocations: 44.17 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 60.83 MB / 0.5196 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002412/0.2949, allocations: 1.566 MB / 0.5211 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.2955, allocations: 404.1 kB / 0.5215 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.2956, allocations: 1.719 kB / 0.5215 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.2958, allocations: 25.98 kB / 0.5215 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2959, allocations: 38.55 kB / 0.5216 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.2962, allocations: 107.9 kB / 0.5217 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.2963, allocations: 60.06 kB / 0.5217 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.2964, allocations: 12.42 kB / 0.5217 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.2965, allocations: 23.08 kB / 0.5218 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.2965, allocations: 16.19 kB / 0.5218 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2965, allocations: 2.156 kB / 0.5218 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.2966, allocations: 37.25 kB / 0.5218 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.2967, allocations: 14.89 kB / 0.5218 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.2967, allocations: 21.91 kB / 0.5218 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2969, allocations: 73.78 kB / 0.5219 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.2969, allocations: 1.062 kB / 0.5219 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2969, allocations: 0.75 kB / 0.5219 GB, free: 2.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2969, allocations: 0 / 0.5219 GB, free: 2.328 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.0003299/0.2972, allocations: 384.2 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2973, allocations: 9.312 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.2973, allocations: 4.469 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2974, allocations: 190.6 kB / 0.5225 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2975, allocations: 5.625 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2975, allocations: 7.219 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.2976, allocations: 53.19 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2976, allocations: 1.062 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2976, allocations: 0 / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2976, allocations: 1.688 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.2977, allocations: 27.02 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.298, allocations: 281.2 kB / 0.5228 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.2982, allocations: 41.2 kB / 0.5229 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.2983, allocations: 19.25 kB / 0.5229 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2983, allocations: 0 / 0.5229 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.2983, allocations: 36.11 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2983, allocations: 5.219 kB / 0.5229 GB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005053/0.2988, allocations: 146.9 kB / 0.5231 GB, free: 1.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.2989, allocations: 60.44 kB / 0.5231 GB, free: 1.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.299, allocations: 155.2 kB / 0.5233 GB, free: 1.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.299, allocations: 25.7 kB / 0.5233 GB, free: 1.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.299, allocations: 102.7 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2991, allocations: 10.59 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.2991, allocations: 23.48 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.2991, allocations: 324.4 kB / 0.5237 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.2992, allocations: 19.73 kB / 0.5238 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.2993, allocations: 20.58 kB / 0.5238 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2994, allocations: 56.48 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.2994, allocations: 0 / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001779/0.2996, allocations: 89.72 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2996, allocations: 4.625 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2996, allocations: 9.016 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2997, allocations: 0.75 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.2997, allocations: 12.2 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2997, allocations: 0.7031 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.2998, allocations: 4.703 kB / 0.524 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2998, allocations: 1.766 kB / 0.524 GB, free: 488 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.463e-05/0.2998, allocations: 125.9 kB / 0.5241 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.2999, allocations: 7.797 kB / 0.5241 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.3001, allocations: 94.66 kB / 0.5242 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3001, allocations: 1.078 kB / 0.5242 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3001, allocations: 3.938 kB / 0.5242 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3001, allocations: 84.03 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3002, allocations: 5.312 kB / 0.5243 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.3002, allocations: 4.219 kB / 0.5243 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3003, allocations: 12.31 kB / 0.5243 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001987/0.3005, allocations: 162.9 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002693/0.3008, allocations: 257.8 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.81e-05/0.3009, allocations: 39.38 kB / 0.5247 GB, free: 15.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.83e-05/0.301, allocations: 116.4 kB / 0.5248 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.301, allocations: 0 / 0.5248 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3022, allocations: 419.4 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005377/0.3027, allocations: 0.6272 MB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of Templates: time 0.003515/0.3063, allocations: 1.273 MB / 0.5271 GB, free: 14.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches