Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) 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/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 SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1198/0.1198, allocations: 23.03 MB / 38.67 MB, free: 1.5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009593/0.009593, allocations: 1.439 MB / 47.31 MB, free: 2.188 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.001392/0.001392, allocations: 107.9 kB / 54.94 MB, free: 6.176 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001477, allocations: 195.8 kB / 62.69 MB, free: 14.64 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.433/1.433, allocations: 222.9 MB / 293.2 MB, free: 13.26 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8878/0.8878, allocations: 127.5 MB / 477.6 MB, free: 84 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003681/0.003681, allocations: 132.3 kB / 0.6423 GB, free: 12.77 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3948, allocations: 82.43 MB / 0.7228 GB, free: 9.855 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002179/0.397, allocations: 1.02 MB / 0.7238 GB, free: 9.102 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0004924/0.3975, allocations: 210.4 kB / 0.724 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.3975, allocations: 1.688 kB / 0.724 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 7.039e-05/0.3976, allocations: 0 / 0.724 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 1.02e-05/0.3976, allocations: 0 / 0.724 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.3981, allocations: 78.22 kB / 0.7241 GB, free: 8.891 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 4.357e-05/0.3981, allocations: 11.66 kB / 0.7241 GB, free: 8.883 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.3982, allocations: 0 / 0.7241 GB, free: 8.883 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.3982, allocations: 9.625 kB / 0.7241 GB, free: 8.875 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 1.672e-05/0.3982, allocations: 1.875 kB / 0.7241 GB, free: 8.875 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.3982, allocations: 0 / 0.7241 GB, free: 8.875 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.3984, allocations: 78.16 kB / 0.7242 GB, free: 8.832 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.3984, allocations: 3.984 kB / 0.7242 GB, free: 8.828 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.3985, allocations: 9.719 kB / 0.7242 GB, free: 8.82 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3986, allocations: 51.95 kB / 0.7243 GB, free: 8.789 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3986, allocations: 0 / 0.7243 GB, free: 8.789 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3986, allocations: 1.344 kB / 0.7243 GB, free: 8.789 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3986, allocations: 0 / 0.7243 GB, free: 8.789 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003574/0.399, allocations: 331.1 kB / 0.7246 GB, free: 8.422 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.399, allocations: 12.89 kB / 0.7246 GB, free: 8.418 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.399, allocations: 2.281 kB / 0.7246 GB, free: 8.418 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3992, allocations: 173.8 kB / 0.7248 GB, free: 8.211 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-06/0.3992, allocations: 384 / 0.7248 GB, free: 8.211 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.3992, allocations: 1.531 kB / 0.7248 GB, free: 8.211 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.3993, allocations: 35.56 kB / 0.7248 GB, free: 8.176 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3994, allocations: 192 / 0.7248 GB, free: 8.176 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3994, allocations: 3.938 kB / 0.7248 GB, free: 8.172 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3994, allocations: 6.219 kB / 0.7248 GB, free: 8.168 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.3994, allocations: 3.656 kB / 0.7248 GB, free: 8.168 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.3996, allocations: 151 kB / 0.725 GB, free: 7.977 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.3997, allocations: 37.22 kB / 0.725 GB, free: 7.941 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.3997, allocations: 15.2 kB / 0.725 GB, free: 7.93 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-06/0.3997, allocations: 0 / 0.725 GB, free: 7.93 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3997, allocations: 38.59 kB / 0.725 GB, free: 7.883 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3997, allocations: 0 / 0.725 GB, free: 7.883 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001298/0.3999, allocations: 50.41 kB / 0.7251 GB, free: 7.844 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3999, allocations: 56.09 kB / 0.7251 GB, free: 7.777 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.4, allocations: 92.45 kB / 0.7252 GB, free: 7.68 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4, allocations: 25.7 kB / 0.7253 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.4001, allocations: 81.55 kB / 0.7253 GB, free: 7.566 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4001, allocations: 9.328 kB / 0.7253 GB, free: 7.559 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.4001, allocations: 16.7 kB / 0.7254 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4003, allocations: 318.8 kB / 0.7257 GB, free: 7.219 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.4003, allocations: 4.156 kB / 0.7257 GB, free: 7.219 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.4003, allocations: 4.656 kB / 0.7257 GB, free: 7.219 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.4004, allocations: 23.53 kB / 0.7257 GB, free: 7.203 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4004, allocations: 0 / 0.7257 GB, free: 7.203 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.691e-05/0.4004, allocations: 47.52 kB / 0.7257 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.4004, allocations: 4.312 kB / 0.7257 GB, free: 7.164 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4005, allocations: 5.156 kB / 0.7258 GB, free: 7.16 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4005, allocations: 4 kB / 0.7258 GB, free: 7.156 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-06/0.4005, allocations: 8 kB / 0.7258 GB, free: 7.148 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4005, allocations: 9.25 kB / 0.7258 GB, free: 7.141 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.4005, allocations: 0 / 0.7258 GB, free: 7.141 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4005, allocations: 1.375 kB / 0.7258 GB, free: 7.141 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.4006, allocations: 111.2 kB / 0.7259 GB, free: 7.023 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.4006, allocations: 5.359 kB / 0.7259 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.4006, allocations: 7.438 kB / 0.7259 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.4007, allocations: 2.75 kB / 0.7259 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4007, allocations: 4 kB / 0.7259 GB, free: 7.004 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.4007, allocations: 0 / 0.7259 GB, free: 7.004 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.4008, allocations: 153.8 kB / 0.726 GB, free: 6.809 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4008, allocations: 1.375 kB / 0.726 GB, free: 6.809 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4008, allocations: 0 / 0.726 GB, free: 6.809 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.4008, allocations: 0 / 0.726 GB, free: 6.809 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.4008, allocations: 5.312 kB / 0.7261 GB, free: 6.805 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4008, allocations: 0 / 0.7261 GB, free: 6.805 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4008, allocations: 0 / 0.7261 GB, free: 6.805 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.598e-05/0.4009, allocations: 70.88 kB / 0.7261 GB, free: 6.73 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.401, allocations: 82.42 kB / 0.7262 GB, free: 6.633 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.401, allocations: 5.312 kB / 0.7262 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.401, allocations: 0 / 0.7262 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.401, allocations: 8.109 kB / 0.7262 GB, free: 6.621 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.401, allocations: 1.375 kB / 0.7262 GB, free: 6.621 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.4011, allocations: 76.66 kB / 0.7263 GB, free: 6.547 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4011, allocations: 1.375 kB / 0.7263 GB, free: 6.547 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002/0.4013, allocations: 15.12 kB / 0.7263 GB, free: 6.547 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001611/0.4015, allocations: 118.8 kB / 0.7264 GB, free: 6.445 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.4015, allocations: 13.62 kB / 0.7264 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.4015, allocations: 1.375 kB / 0.7264 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.4016, allocations: 9.484 kB / 0.7264 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.4017, allocations: 1.375 kB / 0.7264 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.4019, allocations: 100 kB / 0.7265 GB, free: 6.328 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4022, allocations: 0.6731 MB / 0.7272 GB, free: 5.633 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 1.617e-05/0.4022, allocations: 9.312 kB / 0.7272 GB, free: 5.625 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.4022, allocations: 8.812 kB / 0.7272 GB, free: 5.617 MB / 0.5138 GB Notification: Performance of SimCode: time 2.5e-07/0.4023, allocations: 3.938 kB / 0.7272 GB, free: 5.613 MB / 0.5138 GB Notification: Performance of Templates: time 0.002857/0.4051, allocations: 0.618 MB / 0.7278 GB, free: 5.293 MB / 0.5138 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches