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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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 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) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_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="Time|Time_bak|_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/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 182.7 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 113.3 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09705/0.09705, allocations: 20.12 MB / 360.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9875/0.9875, allocations: 126.3 MB / 0.5296 GB, free: 14.98 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 0.6208 GB, free: 1.512 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3505, allocations: 81.16 MB / 0.7 GB, free: 33.47 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002422/0.353, allocations: 1.359 MB / 0.7014 GB, free: 32.58 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.3534, allocations: 164.7 kB / 0.7015 GB, free: 32.48 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.3534, allocations: 0 / 0.7015 GB, free: 32.48 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.3536, allocations: 23.95 kB / 0.7015 GB, free: 32.47 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.3537, allocations: 16.95 kB / 0.7016 GB, free: 32.47 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.3539, allocations: 28.61 kB / 0.7016 GB, free: 32.45 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.354, allocations: 46.41 kB / 0.7016 GB, free: 32.44 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.3541, allocations: 3.328 kB / 0.7016 GB, free: 32.44 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.3542, allocations: 29.23 kB / 0.7017 GB, free: 32.42 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.3542, allocations: 20.39 kB / 0.7017 GB, free: 32.42 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.3543, allocations: 1.906 kB / 0.7017 GB, free: 32.42 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.3544, allocations: 13.73 kB / 0.7017 GB, free: 32.41 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3544, allocations: 12.16 kB / 0.7017 GB, free: 32.41 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.3545, allocations: 16.05 kB / 0.7017 GB, free: 32.4 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3546, allocations: 47.75 kB / 0.7018 GB, free: 32.38 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3546, allocations: 0.9688 kB / 0.7018 GB, free: 32.38 MB / 474.8 MB Notification: Performance of FrontEnd: time 7.32e-07/0.3546, allocations: 1.438 kB / 0.7018 GB, free: 32.38 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.3546, allocations: 0 / 0.7018 GB, free: 32.38 MB / 474.8 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.0003725/0.355, allocations: 360 kB / 0.7021 GB, free: 32 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.355, allocations: 8.875 kB / 0.7021 GB, free: 32 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.3551, allocations: 8.562 kB / 0.7021 GB, free: 32 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3552, allocations: 189.4 kB / 0.7023 GB, free: 31.79 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3552, allocations: 2.562 kB / 0.7023 GB, free: 31.79 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3553, allocations: 3.344 kB / 0.7023 GB, free: 31.79 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3554, allocations: 56.75 kB / 0.7024 GB, free: 31.75 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3554, allocations: 0.7969 kB / 0.7024 GB, free: 31.75 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3554, allocations: 7.531 kB / 0.7024 GB, free: 31.74 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3554, allocations: 0 / 0.7024 GB, free: 31.74 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.3555, allocations: 20.02 kB / 0.7024 GB, free: 31.74 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.3558, allocations: 271 kB / 0.7027 GB, free: 31.46 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.3559, allocations: 35.33 kB / 0.7027 GB, free: 31.43 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.3559, allocations: 17.22 kB / 0.7027 GB, free: 31.41 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3559, allocations: 1.125 kB / 0.7027 GB, free: 31.41 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.356, allocations: 34.7 kB / 0.7027 GB, free: 31.38 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.356, allocations: 0 / 0.7027 GB, free: 31.38 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001903/0.3562, allocations: 78.2 kB / 0.7028 GB, free: 31.33 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3562, allocations: 55.8 kB / 0.7029 GB, free: 31.27 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.3563, allocations: 130.5 kB / 0.703 GB, free: 31.15 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.3563, allocations: 26.45 kB / 0.703 GB, free: 31.12 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.3564, allocations: 94.88 kB / 0.7031 GB, free: 31.03 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.3564, allocations: 10.03 kB / 0.7031 GB, free: 31.02 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3564, allocations: 21.33 kB / 0.7031 GB, free: 31 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.3565, allocations: 319.6 kB / 0.7034 GB, free: 30.69 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.3565, allocations: 18.97 kB / 0.7035 GB, free: 30.68 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.3566, allocations: 32.47 kB / 0.7035 GB, free: 30.66 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.3566, allocations: 47.03 kB / 0.7035 GB, free: 30.64 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3566, allocations: 8 kB / 0.7035 GB, free: 30.64 MB / 474.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002125/0.3569, allocations: 102 kB / 0.7036 GB, free: 30.58 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3569, allocations: 6.25 kB / 0.7036 GB, free: 30.58 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3569, allocations: 1.5 kB / 0.7037 GB, free: 30.58 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.357, allocations: 20.72 kB / 0.7037 GB, free: 30.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.3571, allocations: 10.33 kB / 0.7037 GB, free: 30.57 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009457/0.3581, allocations: 1.3 MB / 0.705 GB, free: 29.23 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.3581, allocations: 11.03 kB / 0.705 GB, free: 29.22 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3581, allocations: 3.188 kB / 0.705 GB, free: 29.22 MB / 474.8 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 7.367e-05/0.3582, allocations: 118.7 kB / 0.7051 GB, free: 29.1 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3582, allocations: 8.031 kB / 0.7051 GB, free: 29.1 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.3584, allocations: 72.84 kB / 0.7052 GB, free: 29.05 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3584, allocations: 1.062 kB / 0.7052 GB, free: 29.05 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3584, allocations: 4.438 kB / 0.7052 GB, free: 29.05 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3584, allocations: 1.562 kB / 0.7052 GB, free: 29.05 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3586, allocations: 168.5 kB / 0.7053 GB, free: 28.85 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3586, allocations: 1.844 kB / 0.7053 GB, free: 28.85 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3586, allocations: 5.25 kB / 0.7053 GB, free: 28.85 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3586, allocations: 1.922 kB / 0.7053 GB, free: 28.85 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3586, allocations: 0 / 0.7053 GB, free: 28.85 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3586, allocations: 1.062 kB / 0.7053 GB, free: 28.85 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3586, allocations: 4.594 kB / 0.7053 GB, free: 28.84 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3588, allocations: 0.7128 MB / 0.706 GB, free: 28.12 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3589, allocations: 88.11 kB / 0.7061 GB, free: 28.02 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.3589, allocations: 1.625 kB / 0.7061 GB, free: 28.02 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.359, allocations: 1.906 kB / 0.7061 GB, free: 28.02 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.359, allocations: 2.812 kB / 0.7061 GB, free: 28.02 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.359, allocations: 5.891 kB / 0.7061 GB, free: 28.02 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.3591, allocations: 98.62 kB / 0.7062 GB, free: 27.94 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3591, allocations: 1.25 kB / 0.7062 GB, free: 27.94 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003423/0.3594, allocations: 12.66 kB / 0.7062 GB, free: 27.94 MB / 474.8 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.0002729/0.3597, allocations: 144.9 kB / 0.7064 GB, free: 27.83 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.36, allocations: 148.5 kB / 0.7065 GB, free: 27.71 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.36, allocations: 1.875 kB / 0.7065 GB, free: 27.71 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.36, allocations: 10.2 kB / 0.7065 GB, free: 27.71 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3603, allocations: 20.73 kB / 0.7065 GB, free: 27.71 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.3606, allocations: 252.7 kB / 0.7068 GB, free: 27.46 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3607, allocations: 0.6914 MB / 0.7075 GB, free: 26.76 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.3608, allocations: 8.109 kB / 0.7075 GB, free: 26.76 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.3608, allocations: 10.91 kB / 0.7075 GB, free: 26.75 MB / 474.8 MB Notification: Performance of SimCode: time 2.3e-07/0.3608, allocations: 0 / 0.7075 GB, free: 26.75 MB / 474.8 MB Notification: Performance of Templates: time 0.003439/0.3643, allocations: 0.8409 MB / 0.7083 GB, free: 26.71 MB / 474.8 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=480 -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","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches