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.01343/0.01343, allocations: 1.428 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.1129/0.1129, allocations: 22.38 MB / 40.35 MB, free: 0.6836 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.0009897/0.0009897, allocations: 107.8 kB / 47.83 MB, free: 2.391 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.00128/0.00128, allocations: 196.3 kB / 55.43 MB, free: 6.43 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.299/1.299, allocations: 222.9 MB / 285.8 MB, free: 1.277 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8596/0.8596, allocations: 127.8 MB / 470.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 127.6 kB / 0.5533 GB, free: 42.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.137, allocations: 82.35 MB / 0.6337 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002353/0.1394, allocations: 1.295 MB / 0.635 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.1398, allocations: 155.5 kB / 0.6351 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.1398, allocations: 0 / 0.6351 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.14, allocations: 27.91 kB / 0.6352 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.14, allocations: 11.92 kB / 0.6352 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1402, allocations: 39.88 kB / 0.6352 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1403, allocations: 51.84 kB / 0.6353 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.1404, allocations: 4.281 kB / 0.6353 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.1404, allocations: 23.92 kB / 0.6353 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.1405, allocations: 31.89 kB / 0.6353 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1405, allocations: 0 / 0.6353 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.1406, allocations: 15.88 kB / 0.6353 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1406, allocations: 11.98 kB / 0.6354 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.1407, allocations: 15.88 kB / 0.6354 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1408, allocations: 51.75 kB / 0.6354 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1408, allocations: 4 kB / 0.6354 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1408, allocations: 0 / 0.6354 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1408, allocations: 0 / 0.6354 GB, free: 11.09 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.0003728/0.1412, allocations: 355.4 kB / 0.6358 GB, free: 10.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1412, allocations: 8.031 kB / 0.6358 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1413, allocations: 8.844 kB / 0.6358 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1414, allocations: 184.2 kB / 0.636 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1414, allocations: 4.312 kB / 0.636 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1415, allocations: 4.375 kB / 0.636 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.1416, allocations: 58.23 kB / 0.636 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1416, allocations: 4.125 kB / 0.636 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1416, allocations: 3.938 kB / 0.636 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1416, allocations: 0 / 0.636 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.1416, allocations: 16 kB / 0.636 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.142, allocations: 269 kB / 0.6363 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.1421, allocations: 38.5 kB / 0.6363 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.1421, allocations: 16.86 kB / 0.6363 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1421, allocations: 0 / 0.6363 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1421, allocations: 34.5 kB / 0.6364 GB, free: 9.938 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1421, allocations: 0 / 0.6364 GB, free: 9.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.1423, allocations: 73.67 kB / 0.6365 GB, free: 9.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.1424, allocations: 55.41 kB / 0.6365 GB, free: 9.793 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.1425, allocations: 126.1 kB / 0.6366 GB, free: 9.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1425, allocations: 33.7 kB / 0.6367 GB, free: 9.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1425, allocations: 91.98 kB / 0.6367 GB, free: 9.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.1425, allocations: 11.91 kB / 0.6368 GB, free: 9.512 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.1426, allocations: 21.7 kB / 0.6368 GB, free: 9.484 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.1427, allocations: 314.8 kB / 0.6371 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.1427, allocations: 19.98 kB / 0.6371 GB, free: 9.148 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.1428, allocations: 33.64 kB / 0.6371 GB, free: 9.109 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.1428, allocations: 57.7 kB / 0.6372 GB, free: 9.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1428, allocations: 3.938 kB / 0.6372 GB, free: 9.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001926/0.143, allocations: 98.47 kB / 0.6373 GB, free: 8.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1431, allocations: 4 kB / 0.6373 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1431, allocations: 0 / 0.6373 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.1432, allocations: 16.84 kB / 0.6373 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.1433, allocations: 12.08 kB / 0.6373 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.1443, allocations: 1.404 MB / 0.6387 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.1444, allocations: 4.031 kB / 0.6387 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1444, allocations: 0 / 0.6387 GB, free: 7.352 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.391e-05/0.1445, allocations: 128.3 kB / 0.6388 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1445, allocations: 7.844 kB / 0.6388 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.1445, allocations: 17.39 kB / 0.6388 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1445, allocations: 3.938 kB / 0.6388 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1445, allocations: 0 / 0.6388 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1445, allocations: 0 / 0.6388 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1447, allocations: 165.6 kB / 0.639 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1447, allocations: 4 kB / 0.639 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.1447, allocations: 0 / 0.639 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1447, allocations: 3.938 kB / 0.639 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1447, allocations: 4 kB / 0.639 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1447, allocations: 0 / 0.639 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1447, allocations: 0 / 0.639 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1449, allocations: 163.5 kB / 0.6392 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.1449, allocations: 85.02 kB / 0.6392 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.1449, allocations: 3.938 kB / 0.6392 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.145, allocations: 0 / 0.6392 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.145, allocations: 4 kB / 0.6393 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.145, allocations: 0 / 0.6393 GB, free: 6.684 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.1451, allocations: 106.9 kB / 0.6394 GB, free: 6.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1451, allocations: 4 kB / 0.6394 GB, free: 6.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1453, allocations: 12 kB / 0.6394 GB, free: 6.566 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.0002387/0.1456, allocations: 143.2 kB / 0.6395 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1458, allocations: 158.6 kB / 0.6397 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1458, allocations: 64 / 0.6397 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.1459, allocations: 12 kB / 0.6397 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1461, allocations: 13.3 kB / 0.6397 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.1464, allocations: 141.2 kB / 0.6398 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.1466, allocations: 0.6807 MB / 0.6405 GB, free: 5.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.1466, allocations: 13.41 kB / 0.6405 GB, free: 5.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1467, allocations: 11.44 kB / 0.6405 GB, free: 5.348 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1467, allocations: 0 / 0.6405 GB, free: 5.348 MB / 462.1 MB Notification: Performance of Templates: time 0.003009/0.1497, allocations: 0.8663 MB / 0.6413 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