Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 113.8 kB / 17.78 MB, free: 5.281 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: 179.9 kB / 18.71 MB, free: 4.363 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2026/0.2026, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.05 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3924, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003057/0.3955, allocations: 1.573 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.397, allocations: 1.019 MB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.3971, allocations: 5.281 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.3974, allocations: 15.41 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3976, allocations: 45.38 kB / 0.5215 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.3979, allocations: 92.66 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.398, allocations: 55.06 kB / 0.5217 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3981, allocations: 10.38 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.3982, allocations: 19.22 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3983, allocations: 29.81 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3984, allocations: 2.75 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3985, allocations: 49.7 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.3985, allocations: 17.48 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.3986, allocations: 20.83 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3988, allocations: 86.53 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3988, allocations: 0 / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3988, allocations: 1 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3988, allocations: 4 kB / 0.5219 GB, free: 1.594 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.0004812/0.3993, allocations: 377.5 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3993, allocations: 10.77 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3994, allocations: 11.52 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3995, allocations: 194.8 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3995, allocations: 1.281 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.3996, allocations: 2.469 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3997, allocations: 69.55 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3997, allocations: 7.891 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3998, allocations: 0.6562 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3998, allocations: 1.062 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.3999, allocations: 21.83 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.4002, allocations: 273 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.4004, allocations: 43.19 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.4004, allocations: 13.64 kB / 0.5229 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4004, allocations: 0.75 kB / 0.5229 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4004, allocations: 35.88 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4004, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005425/0.401, allocations: 135.8 kB / 0.523 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.401, allocations: 79.11 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4011, allocations: 139 kB / 0.5232 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.4012, allocations: 26.95 kB / 0.5233 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.4012, allocations: 87.14 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.4012, allocations: 20.72 kB / 0.5234 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.4012, allocations: 19.48 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4013, allocations: 326.2 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.4014, allocations: 18.56 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.4015, allocations: 35.69 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4016, allocations: 46.56 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4016, allocations: 0 / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001821/0.4018, allocations: 80.36 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4018, allocations: 5.906 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4018, allocations: 0.7969 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4018, allocations: 1.25 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.4019, allocations: 19.94 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4019, allocations: 0.75 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.4019, allocations: 9.078 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.402, allocations: 1.219 kB / 0.5239 GB, free: 15.69 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 (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 8.848e-05/0.402, allocations: 123.3 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.4021, allocations: 6.672 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.4023, allocations: 83.97 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4023, allocations: 1.031 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4023, allocations: 1.5 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4023, allocations: 1.031 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.4028, allocations: 350.7 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4028, allocations: 4.312 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.4028, allocations: 16.02 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4028, allocations: 5.109 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.4028, allocations: 1.125 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4028, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4029, allocations: 4.828 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.4031, allocations: 180.9 kB / 0.5247 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.4031, allocations: 84.08 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4031, allocations: 0.6562 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.4032, allocations: 9.266 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4032, allocations: 8.047 kB / 0.5248 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4032, allocations: 1.125 kB / 0.5248 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.042e-05/0.4033, allocations: 104.4 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 0 / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.4036, allocations: 19.61 kB / 0.5249 GB, free: 14.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0009972/0.4046, allocations: 453.5 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.4048, allocations: 46.5 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4048, allocations: 5.406 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.4049, allocations: 22.81 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4052, allocations: 18.53 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4056, allocations: 155.3 kB / 0.5255 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4058, allocations: 0.6907 MB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.4059, allocations: 10.91 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4059, allocations: 14.39 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4059, allocations: 1.312 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.00439/0.4103, allocations: 1.363 MB / 0.5276 GB, free: 13.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches