Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) 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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|NonlinearSystems.initialization.1..Calls|NonlinearSystems.initialization.1..Iterations|NonlinearSystems.initialization.1..Jacobians|NonlinearSystems.initialization.1..Residues|Time|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|NonlinearSystems.initialization.1..Calls|NonlinearSystems.initialization.1..Iterations|NonlinearSystems.initialization.1..Jacobians|NonlinearSystems.initialization.1..Residues|Time|_derdummy|_dummy|a|a_times_table_input|b|table.columns.1.|table.n|table.smoothness|table.tableOnFile|table.table.1,1.|table.table.1,2.|table.table.2,1.|table.table.2,2.|table.u.1.|table.y.1.|table_result",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.02165/0.02165, allocations: 1.414 MB / 16.68 MB, free: 4.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1396/0.1396, allocations: 22.59 MB / 40.31 MB, free: 1.125 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000747/0.0007469, allocations: 84.06 kB / 48.06 MB, free: 2.414 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 178.2 kB / 55.92 MB, free: 3.977 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.3 MB / 286.9 MB, free: 2.953 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9869/0.9869, allocations: 127.7 MB / 472.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.000575, allocations: 15.53 kB / 0.5567 GB, free: 42.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2036, allocations: 83.88 MB / 0.6386 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.001653/0.2053, allocations: 1.021 MB / 0.6396 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004076/0.2057, allocations: 155.5 kB / 0.6397 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.2058, allocations: 0 / 0.6397 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.2059, allocations: 23.97 kB / 0.6398 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.206, allocations: 15.92 kB / 0.6398 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2062, allocations: 23.97 kB / 0.6398 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2063, allocations: 51.78 kB / 0.6399 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.2064, allocations: 11.92 kB / 0.6399 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/0.2065, allocations: 15.94 kB / 0.6399 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.2066, allocations: 27.89 kB / 0.6399 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2066, allocations: 4 kB / 0.6399 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.593e-05/0.2066, allocations: 15.94 kB / 0.6399 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.2067, allocations: 11.98 kB / 0.6399 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.2068, allocations: 41.58 kB / 0.64 GB, free: 9.613 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2069, allocations: 43.81 kB / 0.64 GB, free: 9.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2069, allocations: 0 / 0.64 GB, free: 9.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2069, allocations: 0 / 0.64 GB, free: 9.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2069, allocations: 4 kB / 0.64 GB, free: 9.566 MB / 462.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.0004512/0.2074, allocations: 351.3 kB / 0.6404 GB, free: 9.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2074, allocations: 12.03 kB / 0.6404 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.2075, allocations: 4.938 kB / 0.6404 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2077, allocations: 188.1 kB / 0.6406 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2077, allocations: 4.359 kB / 0.6406 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.2077, allocations: 4.312 kB / 0.6406 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2078, allocations: 58.23 kB / 0.6406 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2079, allocations: 192 / 0.6406 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2079, allocations: 7.875 kB / 0.6406 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2079, allocations: 0 / 0.6406 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.2079, allocations: 19.98 kB / 0.6406 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.2084, allocations: 268.9 kB / 0.6409 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.2084, allocations: 34.5 kB / 0.6409 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.2085, allocations: 16.86 kB / 0.641 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2085, allocations: 0 / 0.641 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2085, allocations: 34.5 kB / 0.641 GB, free: 8.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2085, allocations: 4 kB / 0.641 GB, free: 8.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002011/0.2087, allocations: 73.77 kB / 0.6411 GB, free: 8.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2088, allocations: 51.41 kB / 0.6411 GB, free: 8.277 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2089, allocations: 126.1 kB / 0.6412 GB, free: 8.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2089, allocations: 25.7 kB / 0.6413 GB, free: 8.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.209, allocations: 95.98 kB / 0.6413 GB, free: 8.012 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.209, allocations: 15.89 kB / 0.6414 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.2091, allocations: 9.719 kB / 0.6414 GB, free: 7.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2092, allocations: 322.8 kB / 0.6417 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.2092, allocations: 19.98 kB / 0.6417 GB, free: 7.637 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.2093, allocations: 33.64 kB / 0.6417 GB, free: 7.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.2094, allocations: 53.7 kB / 0.6418 GB, free: 7.539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2094, allocations: 7.938 kB / 0.6418 GB, free: 7.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002255/0.2096, allocations: 98.38 kB / 0.6419 GB, free: 7.426 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2096, allocations: 11.97 kB / 0.6419 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2096, allocations: 0 / 0.6419 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.2098, allocations: 20.84 kB / 0.6419 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.2098, allocations: 11.98 kB / 0.6419 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.211, allocations: 1.293 MB / 0.6432 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.211, allocations: 3.906 kB / 0.6432 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.211, allocations: 8.031 kB / 0.6432 GB, free: 5.941 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/0.2112, allocations: 119.5 kB / 0.6433 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2112, allocations: 8.094 kB / 0.6433 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2113, allocations: 69.58 kB / 0.6434 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2113, allocations: 0 / 0.6434 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2113, allocations: 7.875 kB / 0.6434 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2113, allocations: 0 / 0.6434 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2115, allocations: 169.7 kB / 0.6436 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2115, allocations: 0 / 0.6436 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.2115, allocations: 3.938 kB / 0.6436 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2115, allocations: 4 kB / 0.6436 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.2116, allocations: 64 / 0.6436 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2116, allocations: 8 kB / 0.6436 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.2116, allocations: 3.938 kB / 0.6436 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2117, allocations: 159.4 kB / 0.6437 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.2118, allocations: 85.02 kB / 0.6438 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-06/0.2118, allocations: 0 / 0.6438 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.2118, allocations: 0 / 0.6438 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.2119, allocations: 7.938 kB / 0.6438 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2119, allocations: 3.984 kB / 0.6438 GB, free: 5.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.13e-05/0.2119, allocations: 105.9 kB / 0.6439 GB, free: 5.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.212, allocations: 0 / 0.6439 GB, free: 5.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2122, allocations: 12 kB / 0.6439 GB, free: 5.094 MB / 462.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: 1 (table.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002832/0.2125, allocations: 129.2 kB / 0.6441 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.2128, allocations: 162.7 kB / 0.6442 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2128, allocations: 4 kB / 0.6442 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.2128, allocations: 8 kB / 0.6442 GB, free: 4.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.2131, allocations: 8 kB / 0.6442 GB, free: 4.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.2133, allocations: 151.2 kB / 0.6444 GB, free: 4.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2136, allocations: 0.6927 MB / 0.6451 GB, free: 3.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2137, allocations: 3.984 kB / 0.6451 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.2137, allocations: 15.44 kB / 0.6451 GB, free: 3.867 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2137, allocations: 0 / 0.6451 GB, free: 3.867 MB / 462.1 MB Notification: Performance of Templates: time 0.003292/0.217, allocations: 0.8192 MB / 0.6459 GB, free: 3.062 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches