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.01035/0.01035, allocations: 1.426 MB / 16.66 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.102/0.102, allocations: 22.38 MB / 40.07 MB, free: 0.832 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.001006/0.001006, allocations: 99.05 kB / 47.54 MB, free: 2.504 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.001299/0.001299, allocations: 188.5 kB / 55.12 MB, free: 6.551 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.316/1.316, allocations: 222.9 MB / 285.5 MB, free: 1.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8336/0.8336, allocations: 127.8 MB / 470.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 127.2 kB / 0.5528 GB, free: 42.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 82.37 MB / 0.6332 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002249/0.1248, allocations: 1.348 MB / 0.6345 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003762/0.1252, allocations: 155.5 kB / 0.6347 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.1253, allocations: 0 / 0.6347 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1255, allocations: 27.89 kB / 0.6347 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.1255, allocations: 11.98 kB / 0.6347 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1257, allocations: 29.12 kB / 0.6347 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1258, allocations: 51.83 kB / 0.6348 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.1259, allocations: 8 kB / 0.6348 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.1259, allocations: 19.92 kB / 0.6348 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.639e-05/0.126, allocations: 27.91 kB / 0.6348 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1261, allocations: 7.984 kB / 0.6348 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.1261, allocations: 8 kB / 0.6348 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.1262, allocations: 11.98 kB / 0.6349 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1262, allocations: 15.88 kB / 0.6349 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.1263, allocations: 52.09 kB / 0.6349 GB, free: 11.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1263, allocations: 0 / 0.6349 GB, free: 11.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1263, allocations: 0 / 0.6349 GB, free: 11.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1263, allocations: 0 / 0.6349 GB, free: 11.61 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.0003755/0.1267, allocations: 363.2 kB / 0.6353 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1268, allocations: 12.03 kB / 0.6353 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1268, allocations: 4.844 kB / 0.6353 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.127, allocations: 188.2 kB / 0.6355 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.127, allocations: 384 / 0.6355 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.127, allocations: 8.312 kB / 0.6355 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1271, allocations: 54.23 kB / 0.6355 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1271, allocations: 192 / 0.6355 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1271, allocations: 3.938 kB / 0.6355 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1272, allocations: 8 kB / 0.6355 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.1272, allocations: 19.98 kB / 0.6356 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1275, allocations: 264.9 kB / 0.6358 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.1276, allocations: 34.5 kB / 0.6358 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.1276, allocations: 12.86 kB / 0.6358 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1277, allocations: 4 kB / 0.6359 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1277, allocations: 34.56 kB / 0.6359 GB, free: 10.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1277, allocations: 0 / 0.6359 GB, free: 10.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001794/0.1279, allocations: 77.61 kB / 0.636 GB, free: 10.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1279, allocations: 55.41 kB / 0.636 GB, free: 10.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.128, allocations: 126.1 kB / 0.6361 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.128, allocations: 25.7 kB / 0.6362 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.1281, allocations: 104 kB / 0.6363 GB, free: 10.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.1281, allocations: 7.891 kB / 0.6363 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1282, allocations: 25.72 kB / 0.6363 GB, free: 9.996 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1283, allocations: 318.8 kB / 0.6366 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.1283, allocations: 16 kB / 0.6366 GB, free: 9.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.1283, allocations: 33.7 kB / 0.6366 GB, free: 9.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.1284, allocations: 49.64 kB / 0.6367 GB, free: 9.566 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1284, allocations: 3.938 kB / 0.6367 GB, free: 9.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001839/0.1286, allocations: 98.53 kB / 0.6368 GB, free: 9.457 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1286, allocations: 11.94 kB / 0.6368 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1286, allocations: 160 / 0.6368 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.1287, allocations: 16.84 kB / 0.6368 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.1288, allocations: 11.98 kB / 0.6368 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.1299, allocations: 1.4 MB / 0.6382 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.1299, allocations: 0 / 0.6382 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1299, allocations: 8.031 kB / 0.6382 GB, free: 7.863 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.729e-05/0.13, allocations: 119.5 kB / 0.6383 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1301, allocations: 11.84 kB / 0.6383 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.1302, allocations: 73.52 kB / 0.6384 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1302, allocations: 0 / 0.6384 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.1302, allocations: 3.938 kB / 0.6384 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1302, allocations: 4 kB / 0.6384 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1303, allocations: 165.6 kB / 0.6386 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1304, allocations: 0 / 0.6386 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.1304, allocations: 7.984 kB / 0.6386 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1304, allocations: 3.938 kB / 0.6386 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1304, allocations: 4 kB / 0.6386 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1304, allocations: 0 / 0.6386 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1304, allocations: 0 / 0.6386 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1306, allocations: 163.4 kB / 0.6387 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.1306, allocations: 81.11 kB / 0.6388 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1306, allocations: 7.922 kB / 0.6388 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.1307, allocations: 0 / 0.6388 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.1307, allocations: 144 / 0.6388 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1307, allocations: 4 kB / 0.6388 GB, free: 7.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.267e-05/0.1308, allocations: 102.6 kB / 0.6389 GB, free: 7.031 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1308, allocations: 0 / 0.6389 GB, free: 7.031 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.131, allocations: 8 kB / 0.6389 GB, free: 7.023 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.0002297/0.1313, allocations: 146.9 kB / 0.6391 GB, free: 6.887 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1315, allocations: 158.6 kB / 0.6392 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1315, allocations: 0 / 0.6392 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.1316, allocations: 11.98 kB / 0.6392 GB, free: 6.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1318, allocations: 9.75 kB / 0.6392 GB, free: 6.699 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.132, allocations: 145.3 kB / 0.6394 GB, free: 6.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1323, allocations: 0.6924 MB / 0.6401 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.1323, allocations: 4 kB / 0.6401 GB, free: 5.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.1323, allocations: 15.44 kB / 0.6401 GB, free: 5.793 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.1323, allocations: 0 / 0.6401 GB, free: 5.793 MB / 462.1 MB Notification: Performance of Templates: time 0.002734/0.1351, allocations: 0.8796 MB / 0.6409 GB, free: 4.938 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