Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 108.6 kB / 18.45 MB, free: 4.641 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.00107/0.00107, allocations: 179.1 kB / 19.37 MB, free: 3.723 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.333/1.333, 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.2217/0.2217, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3929, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002915/0.3958, allocations: 1.645 MB / 0.5212 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.3966, allocations: 433.6 kB / 0.5216 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.3966, allocations: 1.094 kB / 0.5216 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.3973, allocations: 450.9 kB / 0.522 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.3978, allocations: 252.1 kB / 0.5223 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.3982, allocations: 133.5 kB / 0.5224 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.3985, allocations: 159.6 kB / 0.5226 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3986, allocations: 23.42 kB / 0.5226 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3988, allocations: 112.5 kB / 0.5227 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.3991, allocations: 207 kB / 0.5229 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3991, allocations: 3.531 kB / 0.5229 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3992, allocations: 47.31 kB / 0.5229 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3993, allocations: 80.98 kB / 0.523 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.3994, allocations: 111.7 kB / 0.5231 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.3997, allocations: 263.6 kB / 0.5234 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3997, allocations: 0 / 0.5234 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3997, allocations: 1.219 kB / 0.5234 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3997, allocations: 0 / 0.5234 GB, free: 1.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006298/0.4004, allocations: 0.6412 MB / 0.524 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4004, allocations: 10.62 kB / 0.524 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.4005, allocations: 42.66 kB / 0.524 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.4008, allocations: 289.2 kB / 0.5243 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4008, allocations: 2.531 kB / 0.5243 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4008, allocations: 10.5 kB / 0.5243 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.401, allocations: 59.58 kB / 0.5244 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.401, allocations: 4.703 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.401, allocations: 1.188 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.401, allocations: 1.125 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.4011, allocations: 30.02 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.4016, allocations: 395.1 kB / 0.5248 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.4017, allocations: 52.16 kB / 0.5249 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.4018, allocations: 14.89 kB / 0.5249 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4018, allocations: 2.359 kB / 0.5249 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4018, allocations: 34.56 kB / 0.5249 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4018, allocations: 0 / 0.5249 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000928/0.4028, allocations: 305.5 kB / 0.5252 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.4028, allocations: 57.09 kB / 0.5253 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/0.4037, allocations: 0.8584 MB / 0.5261 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.4037, allocations: 25.7 kB / 0.5261 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4039, allocations: 221.2 kB / 0.5263 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.404, allocations: 31.16 kB / 0.5264 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.404, allocations: 24.08 kB / 0.5264 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4042, allocations: 363 kB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.4043, allocations: 22.77 kB / 0.5267 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.4044, allocations: 27.23 kB / 0.5268 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.4045, allocations: 64.52 kB / 0.5268 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4045, allocations: 8 kB / 0.5268 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002428/0.4048, allocations: 128.8 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4048, allocations: 5.062 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4048, allocations: 1.062 kB / 0.527 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4048, allocations: 3.984 kB / 0.527 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4049, allocations: 22.08 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.405, allocations: 5.062 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.405, allocations: 6.594 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4051, allocations: 7.062 kB / 0.527 GB, free: 15.11 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 (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.0002043/0.4053, allocations: 217.4 kB / 0.5272 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.4053, allocations: 38.25 kB / 0.5273 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.4057, allocations: 152 kB / 0.5274 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4057, allocations: 1.594 kB / 0.5274 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4057, allocations: 3.938 kB / 0.5274 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4057, allocations: 1.25 kB / 0.5274 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.4064, allocations: 0.4999 MB / 0.5279 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4064, allocations: 5.25 kB / 0.5279 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.4065, allocations: 21.98 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4065, allocations: 0.9688 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4065, allocations: 5.125 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4065, allocations: 1.188 kB / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4065, allocations: 32 / 0.5279 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4068, allocations: 234.6 kB / 0.5282 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.4069, allocations: 109.8 kB / 0.5283 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.4069, allocations: 5.703 kB / 0.5283 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.407, allocations: 7.281 kB / 0.5283 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.4071, allocations: 15.98 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4071, allocations: 2.125 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006836/0.4078, allocations: 0.6463 MB / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4078, allocations: 0 / 0.5289 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4081, allocations: 26 kB / 0.5289 GB, free: 13.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001095/0.4092, allocations: 465.2 kB / 0.5294 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4094, allocations: 66.92 kB / 0.5294 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4094, allocations: 0 / 0.5294 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.4095, allocations: 38.44 kB / 0.5295 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.41, allocations: 28.89 kB / 0.5295 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4112, allocations: 0.8447 MB / 0.5303 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.4117, allocations: 0.8238 MB / 0.5311 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4117, allocations: 18.3 kB / 0.5312 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4117, allocations: 0 / 0.5312 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Templates: time 0.007902/0.4196, allocations: 3.898 MB / 0.535 GB, free: 10.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches