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.01549/0.01549, allocations: 1.433 MB / 16.55 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1221/0.1221, allocations: 22.38 MB / 39.96 MB, free: 0.8945 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.001454/0.001454, allocations: 111.3 kB / 47.43 MB, free: 2.535 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.001532/0.001532, allocations: 188.7 kB / 55 MB, free: 6.598 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.43/1.43, allocations: 222.9 MB / 285.3 MB, free: 1.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8997/0.8997, allocations: 127.8 MB / 470 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 128.3 kB / 0.5526 GB, free: 43.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2044, allocations: 82.36 MB / 0.633 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002657/0.2071, allocations: 1.362 MB / 0.6343 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004143/0.2076, allocations: 147.5 kB / 0.6345 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.2076, allocations: 0 / 0.6345 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.2078, allocations: 31.89 kB / 0.6345 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.2079, allocations: 19.98 kB / 0.6345 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2081, allocations: 23.92 kB / 0.6345 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.2082, allocations: 43.89 kB / 0.6346 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.2083, allocations: 7.938 kB / 0.6346 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.2083, allocations: 23.92 kB / 0.6346 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.2084, allocations: 19.92 kB / 0.6346 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2085, allocations: 0 / 0.6346 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.2085, allocations: 11.98 kB / 0.6346 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.2086, allocations: 15.98 kB / 0.6347 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.2086, allocations: 19.86 kB / 0.6347 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2088, allocations: 48.09 kB / 0.6347 GB, free: 11.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2088, allocations: 0 / 0.6347 GB, free: 11.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2088, allocations: 4 kB / 0.6347 GB, free: 11.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2088, allocations: 0 / 0.6347 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.0005035/0.2093, allocations: 355.4 kB / 0.6351 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.2094, allocations: 12.02 kB / 0.6351 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.2094, allocations: 8.844 kB / 0.6351 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2096, allocations: 184.2 kB / 0.6353 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2096, allocations: 12.31 kB / 0.6353 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2097, allocations: 4.375 kB / 0.6353 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2098, allocations: 46.25 kB / 0.6353 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.2098, allocations: 192 / 0.6353 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2098, allocations: 3.938 kB / 0.6353 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2098, allocations: 0 / 0.6353 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.2099, allocations: 23.98 kB / 0.6354 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.2103, allocations: 269 kB / 0.6356 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.2104, allocations: 46.38 kB / 0.6357 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.2104, allocations: 12.86 kB / 0.6357 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2104, allocations: 0 / 0.6357 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2105, allocations: 38.56 kB / 0.6357 GB, free: 10.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2105, allocations: 0 / 0.6357 GB, free: 10.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002005/0.2107, allocations: 73.61 kB / 0.6358 GB, free: 10.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2107, allocations: 51.41 kB / 0.6358 GB, free: 10.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2109, allocations: 138.1 kB / 0.636 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2109, allocations: 25.7 kB / 0.636 GB, free: 10.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.211, allocations: 91.98 kB / 0.6361 GB, free: 10.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.211, allocations: 11.89 kB / 0.6361 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.211, allocations: 21.7 kB / 0.6361 GB, free: 9.996 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2112, allocations: 318.8 kB / 0.6364 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.2112, allocations: 19.98 kB / 0.6364 GB, free: 9.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.2112, allocations: 33.7 kB / 0.6365 GB, free: 9.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.2113, allocations: 53.7 kB / 0.6365 GB, free: 9.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.2113, allocations: 3.938 kB / 0.6365 GB, free: 9.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001963/0.2115, allocations: 94.47 kB / 0.6366 GB, free: 9.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2116, allocations: 4 kB / 0.6366 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2116, allocations: 4 kB / 0.6366 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.2117, allocations: 29 kB / 0.6366 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.2118, allocations: 4 kB / 0.6366 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.213, allocations: 1.298 MB / 0.6379 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.213, allocations: 8.031 kB / 0.6379 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.213, allocations: 0 / 0.6379 GB, free: 7.969 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 0.0001037/0.2131, allocations: 119.6 kB / 0.638 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2132, allocations: 3.906 kB / 0.638 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.734e-05/0.2133, allocations: 69.52 kB / 0.6381 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2133, allocations: 8.031 kB / 0.6381 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2133, allocations: 8 kB / 0.6381 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2133, allocations: 0 / 0.6381 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2135, allocations: 173.6 kB / 0.6383 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2135, allocations: 0 / 0.6383 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.2135, allocations: 0 / 0.6383 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2135, allocations: 4 kB / 0.6383 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2135, allocations: 0 / 0.6383 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2135, allocations: 0 / 0.6383 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2135, allocations: 7.875 kB / 0.6383 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.2137, allocations: 163.5 kB / 0.6384 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2137, allocations: 85.02 kB / 0.6385 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.2137, allocations: 0 / 0.6385 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.2138, allocations: 0 / 0.6385 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.2138, allocations: 8.078 kB / 0.6385 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2138, allocations: 0 / 0.6385 GB, free: 7.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.927e-05/0.2139, allocations: 103.2 kB / 0.6386 GB, free: 7.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2139, allocations: 0 / 0.6386 GB, free: 7.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.2142, allocations: 16 kB / 0.6386 GB, free: 7.117 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.0002683/0.2145, allocations: 130.4 kB / 0.6388 GB, free: 6.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.2147, allocations: 158.6 kB / 0.6389 GB, free: 6.828 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2148, allocations: 0 / 0.6389 GB, free: 6.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.2148, allocations: 8 kB / 0.6389 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.215, allocations: 12.22 kB / 0.6389 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.2153, allocations: 151.1 kB / 0.6391 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.2156, allocations: 0.6934 MB / 0.6398 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.2157, allocations: 11.83 kB / 0.6398 GB, free: 5.906 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.2157, allocations: 15.42 kB / 0.6398 GB, free: 5.891 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 0 / 0.6398 GB, free: 5.891 MB / 462.1 MB Notification: Performance of Templates: time 0.00331/0.219, allocations: 0.8321 MB / 0.6406 GB, free: 5.074 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=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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D.mat","/var/lib/jenkins/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