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.01227/0.01227, allocations: 1.437 MB / 17.75 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1157/0.1157, allocations: 22.37 MB / 41.16 MB, free: 7.762 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 108 kB / 48.66 MB, free: 244 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 191.3 kB / 56.26 MB, free: 9.457 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.358/1.358, allocations: 222.9 MB / 286.6 MB, free: 13.97 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8429/0.8429, allocations: 127.8 MB / 471.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 119.8 kB / 0.6359 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4031, allocations: 82.35 MB / 0.7164 GB, free: 9.715 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestParameterizableTable1D): time 0.002197/0.4053, allocations: 1.313 MB / 0.7176 GB, free: 8.742 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0003929/0.4057, allocations: 147.4 kB / 0.7178 GB, free: 8.633 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.4057, allocations: 1.656 kB / 0.7178 GB, free: 8.633 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.4059, allocations: 26.59 kB / 0.7178 GB, free: 8.617 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.406, allocations: 13.64 kB / 0.7178 GB, free: 8.609 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4062, allocations: 32.52 kB / 0.7179 GB, free: 8.586 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.4063, allocations: 49.34 kB / 0.7179 GB, free: 8.559 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.4064, allocations: 10.88 kB / 0.7179 GB, free: 8.551 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.4064, allocations: 25.97 kB / 0.7179 GB, free: 8.535 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.4065, allocations: 21.98 kB / 0.718 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.4065, allocations: 3 kB / 0.718 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.4066, allocations: 10.98 kB / 0.718 GB, free: 8.52 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.4066, allocations: 13.81 kB / 0.718 GB, free: 8.512 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.4067, allocations: 23.69 kB / 0.718 GB, free: 8.492 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.4068, allocations: 54.03 kB / 0.7181 GB, free: 8.461 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4068, allocations: 2 kB / 0.7181 GB, free: 8.461 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4068, allocations: 0 / 0.7181 GB, free: 8.461 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.4068, allocations: 4 kB / 0.7181 GB, free: 8.457 MB / 0.5138 GB 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.0004186/0.4073, allocations: 351.6 kB / 0.7184 GB, free: 8.078 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4073, allocations: 8.594 kB / 0.7184 GB, free: 8.078 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.4073, allocations: 7.734 kB / 0.7184 GB, free: 8.074 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4075, allocations: 187.8 kB / 0.7186 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.4075, allocations: 1.938 kB / 0.7186 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4075, allocations: 1.875 kB / 0.7186 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.4077, allocations: 51.81 kB / 0.7187 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4077, allocations: 8.172 kB / 0.7187 GB, free: 7.809 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4077, allocations: 5.375 kB / 0.7187 GB, free: 7.805 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4077, allocations: 3.984 kB / 0.7187 GB, free: 7.801 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.4078, allocations: 20.66 kB / 0.7187 GB, free: 7.793 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.4081, allocations: 270.1 kB / 0.7189 GB, free: 7.496 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.4082, allocations: 33.66 kB / 0.719 GB, free: 7.465 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.4082, allocations: 14.39 kB / 0.719 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.4082, allocations: 8.938 kB / 0.719 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.4083, allocations: 31.66 kB / 0.719 GB, free: 7.406 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4083, allocations: 3.938 kB / 0.719 GB, free: 7.402 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.4085, allocations: 72.17 kB / 0.7191 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.4085, allocations: 53.16 kB / 0.7192 GB, free: 7.293 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.4086, allocations: 126.2 kB / 0.7193 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4086, allocations: 25.7 kB / 0.7193 GB, free: 7.145 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.4087, allocations: 103.6 kB / 0.7194 GB, free: 7.043 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-06/0.4087, allocations: 5.734 kB / 0.7194 GB, free: 7.039 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.4088, allocations: 23.08 kB / 0.7194 GB, free: 7.016 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.4089, allocations: 318.5 kB / 0.7197 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.4089, allocations: 18.7 kB / 0.7197 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.897e-05/0.409, allocations: 32.92 kB / 0.7198 GB, free: 6.668 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.409, allocations: 58.05 kB / 0.7198 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.409, allocations: 0 / 0.7198 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002056/0.4093, allocations: 111.5 kB / 0.7199 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4093, allocations: 8.688 kB / 0.7199 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4093, allocations: 0 / 0.7199 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.4094, allocations: 17.41 kB / 0.72 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.4095, allocations: 7.125 kB / 0.72 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.4106, allocations: 1.401 MB / 0.7213 GB, free: 5.066 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.4107, allocations: 1.281 kB / 0.7213 GB, free: 5.066 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4107, allocations: 6.562 kB / 0.7213 GB, free: 5.062 MB / 0.5138 GB 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.633e-05/0.4108, allocations: 115.2 kB / 0.7215 GB, free: 4.945 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.4108, allocations: 10.5 kB / 0.7215 GB, free: 4.938 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.4108, allocations: 14.41 kB / 0.7215 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4108, allocations: 0 / 0.7215 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4108, allocations: 0 / 0.7215 GB, free: 4.922 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.4109, allocations: 83.64 kB / 0.7216 GB, free: 4.824 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.4109, allocations: 4 kB / 0.7216 GB, free: 4.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.411, allocations: 1.25 kB / 0.7216 GB, free: 4.82 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.411, allocations: 5.297 kB / 0.7216 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001115/0.4111, allocations: 134.8 kB / 0.7217 GB, free: 4.699 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001434/0.4113, allocations: 244.8 kB / 0.7219 GB, free: 4.469 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.144e-05/0.4113, allocations: 6.938 kB / 0.7219 GB, free: 4.469 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.4114, allocations: 109 kB / 0.722 GB, free: 4.375 MB / 0.5138 GB Notification: Performance of Backend: time 2.9e-07/0.4114, allocations: 0 / 0.722 GB, free: 4.375 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0006251/0.412, allocations: 254.4 kB / 0.7223 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0004176/0.4124, allocations: 0.5914 MB / 0.7229 GB, free: 3.559 MB / 0.5138 GB Notification: Performance of Templates: time 0.003324/0.4158, allocations: 0.9373 MB / 0.7238 GB, free: 3.074 MB / 0.5138 GB 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/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