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.01361/0.01361, allocations: 1.43 MB / 16.93 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1109/0.1109, allocations: 22.38 MB / 40.35 MB, free: 0.6914 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.001036/0.001037, allocations: 107.3 kB / 47.83 MB, free: 2.387 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.001327/0.001327, allocations: 192.3 kB / 55.43 MB, free: 6.426 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 285.8 MB, free: 1.297 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8195/0.8195, allocations: 127.8 MB / 470.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 126.3 kB / 0.5533 GB, free: 42.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 82.34 MB / 0.6337 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002328/0.1278, allocations: 1.3 MB / 0.635 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003591/0.1282, allocations: 159.5 kB / 0.6351 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.1282, allocations: 0 / 0.6351 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1284, allocations: 27.91 kB / 0.6352 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.1285, allocations: 15.86 kB / 0.6352 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.1286, allocations: 31.89 kB / 0.6352 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1288, allocations: 47.91 kB / 0.6353 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1288, allocations: 4.281 kB / 0.6353 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.1289, allocations: 27.91 kB / 0.6353 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.129, allocations: 27.92 kB / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.129, allocations: 0 / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.226e-05/0.129, allocations: 11.94 kB / 0.6353 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1291, allocations: 15.92 kB / 0.6353 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.1291, allocations: 15.88 kB / 0.6354 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1292, allocations: 47.81 kB / 0.6354 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1292, allocations: 0 / 0.6354 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1292, allocations: 0 / 0.6354 GB, free: 11.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1293, allocations: 0 / 0.6354 GB, free: 11.11 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.0004032/0.1297, allocations: 359.4 kB / 0.6358 GB, free: 10.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1297, allocations: 8.031 kB / 0.6358 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.1297, allocations: 12.78 kB / 0.6358 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1299, allocations: 193.5 kB / 0.636 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-06/0.1299, allocations: 384 / 0.636 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1299, allocations: 384 / 0.636 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.13, allocations: 54.25 kB / 0.636 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1301, allocations: 192 / 0.636 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1301, allocations: 7.875 kB / 0.636 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1301, allocations: 3.938 kB / 0.636 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.1301, allocations: 23.98 kB / 0.636 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1305, allocations: 265 kB / 0.6363 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.1306, allocations: 34.5 kB / 0.6363 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.1306, allocations: 20.94 kB / 0.6363 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1307, allocations: 0 / 0.6363 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1307, allocations: 38.5 kB / 0.6364 GB, free: 9.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1307, allocations: 0 / 0.6364 GB, free: 9.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001744/0.1309, allocations: 77.58 kB / 0.6365 GB, free: 9.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1309, allocations: 51.41 kB / 0.6365 GB, free: 9.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.131, allocations: 125.1 kB / 0.6366 GB, free: 9.664 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.131, allocations: 25.7 kB / 0.6367 GB, free: 9.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1311, allocations: 99.97 kB / 0.6367 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.1311, allocations: 11.91 kB / 0.6368 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.1311, allocations: 21.7 kB / 0.6368 GB, free: 9.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.1313, allocations: 318.8 kB / 0.6371 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.1313, allocations: 19.98 kB / 0.6371 GB, free: 9.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.1313, allocations: 33.64 kB / 0.6371 GB, free: 9.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.37e-05/0.1314, allocations: 49.72 kB / 0.6372 GB, free: 9.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1314, allocations: 7.938 kB / 0.6372 GB, free: 9.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001836/0.1316, allocations: 106.5 kB / 0.6373 GB, free: 8.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1316, allocations: 4 kB / 0.6373 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1316, allocations: 0 / 0.6373 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.1318, allocations: 16.84 kB / 0.6373 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.1318, allocations: 11.94 kB / 0.6373 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.1329, allocations: 1.392 MB / 0.6387 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.1329, allocations: 4.156 kB / 0.6387 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1329, allocations: 4 kB / 0.6387 GB, free: 7.359 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 8.571e-05/0.133, allocations: 123.6 kB / 0.6388 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1331, allocations: 7.844 kB / 0.6388 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.1331, allocations: 15.89 kB / 0.6388 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1331, allocations: 0 / 0.6388 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.1331, allocations: 0 / 0.6388 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1331, allocations: 240 / 0.6388 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.1333, allocations: 165.6 kB / 0.639 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1333, allocations: 4 kB / 0.639 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.1333, allocations: 8.047 kB / 0.639 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1333, allocations: 15.86 kB / 0.639 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1333, allocations: 4 kB / 0.639 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1333, allocations: 0 / 0.639 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1333, allocations: 0 / 0.639 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1334, allocations: 155.5 kB / 0.6392 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1335, allocations: 89 kB / 0.6393 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1335, allocations: 7.938 kB / 0.6393 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1336, allocations: 0 / 0.6393 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.1336, allocations: 0 / 0.6393 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1336, allocations: 4 kB / 0.6393 GB, free: 6.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.1337, allocations: 99.27 kB / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1337, allocations: 0 / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1339, allocations: 12 kB / 0.6394 GB, free: 6.57 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.0002346/0.1341, allocations: 131.6 kB / 0.6395 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1344, allocations: 154.6 kB / 0.6396 GB, free: 6.285 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1344, allocations: 0 / 0.6396 GB, free: 6.285 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.1344, allocations: 11.98 kB / 0.6397 GB, free: 6.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1347, allocations: 13.61 kB / 0.6397 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.1349, allocations: 149.2 kB / 0.6398 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1352, allocations: 0.6846 MB / 0.6405 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.1352, allocations: 4 kB / 0.6405 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.1353, allocations: 19.36 kB / 0.6405 GB, free: 5.359 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1353, allocations: 0 / 0.6405 GB, free: 5.359 MB / 462.1 MB Notification: Performance of Templates: time 0.002895/0.1382, allocations: 0.8742 MB / 0.6414 GB, free: 4.504 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