Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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: "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestGenerateGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.146/0.146, allocations: 23.03 MB / 38.66 MB, free: 1.484 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008676/0.008676, allocations: 1.433 MB / 47.31 MB, free: 2.172 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.001252/0.001252, allocations: 115.8 kB / 54.94 MB, free: 6.16 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.001346/0.001346, allocations: 200.3 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.525/1.525, allocations: 222.9 MB / 293.2 MB, free: 13.23 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9452/0.9452, allocations: 127.4 MB / 477.6 MB, free: 84 kB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004149/0.004149, allocations: 136.2 kB / 0.6418 GB, free: 13.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.7019, allocations: 82.42 MB / 0.7223 GB, free: 9.445 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002592/0.7045, allocations: 1.027 MB / 0.7233 GB, free: 8.684 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0006492/0.7052, allocations: 211.9 kB / 0.7235 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.7052, allocations: 0 / 0.7235 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.7054, allocations: 0 / 0.7235 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 9.167e-06/0.7054, allocations: 0 / 0.7235 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.7059, allocations: 75.42 kB / 0.7236 GB, free: 8.477 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.706, allocations: 14.14 kB / 0.7236 GB, free: 8.465 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.7061, allocations: 1.125 kB / 0.7236 GB, free: 8.465 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.7061, allocations: 1.188 kB / 0.7236 GB, free: 8.465 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 2.275e-05/0.7061, allocations: 1.406 kB / 0.7236 GB, free: 8.465 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.7061, allocations: 0 / 0.7236 GB, free: 8.465 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.7063, allocations: 86.12 kB / 0.7237 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.7064, allocations: 1.219 kB / 0.7237 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.7064, allocations: 9.047 kB / 0.7237 GB, free: 8.406 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.7066, allocations: 48.25 kB / 0.7238 GB, free: 8.379 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7066, allocations: 0 / 0.7238 GB, free: 8.379 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7066, allocations: 0 / 0.7238 GB, free: 8.379 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7066, allocations: 4 kB / 0.7238 GB, free: 8.375 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.0004827/0.7071, allocations: 336.1 kB / 0.7241 GB, free: 8.008 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.7072, allocations: 8.344 kB / 0.7241 GB, free: 8.008 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.7072, allocations: 32.19 kB / 0.7241 GB, free: 7.969 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.7073, allocations: 0.9375 kB / 0.7241 GB, free: 7.969 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.7075, allocations: 171.1 kB / 0.7243 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.7075, allocations: 384 / 0.7243 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.7075, allocations: 384 / 0.7243 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.7076, allocations: 39.77 kB / 0.7243 GB, free: 7.727 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.7077, allocations: 7.875 kB / 0.7243 GB, free: 7.719 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.7077, allocations: 1.438 kB / 0.7243 GB, free: 7.719 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.7077, allocations: 1.375 kB / 0.7244 GB, free: 7.719 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.7077, allocations: 8.172 kB / 0.7244 GB, free: 7.715 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.708, allocations: 149.9 kB / 0.7245 GB, free: 7.523 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.708, allocations: 34.39 kB / 0.7245 GB, free: 7.492 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.7081, allocations: 9.359 kB / 0.7245 GB, free: 7.484 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.7081, allocations: 4 kB / 0.7245 GB, free: 7.48 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.7081, allocations: 31.53 kB / 0.7246 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 3.577e-06/0.7081, allocations: 0.7812 kB / 0.7246 GB, free: 7.441 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001757/0.7083, allocations: 57.33 kB / 0.7246 GB, free: 7.395 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.7084, allocations: 52.75 kB / 0.7247 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.7085, allocations: 96.56 kB / 0.7248 GB, free: 7.23 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.7085, allocations: 25.7 kB / 0.7248 GB, free: 7.199 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.7086, allocations: 85.7 kB / 0.7249 GB, free: 7.113 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.7086, allocations: 12.67 kB / 0.7249 GB, free: 7.102 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.7087, allocations: 12.38 kB / 0.7249 GB, free: 7.086 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7088, allocations: 316 kB / 0.7252 GB, free: 6.77 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.7088, allocations: 4.344 kB / 0.7252 GB, free: 6.77 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.7088, allocations: 3.781 kB / 0.7252 GB, free: 6.77 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.7089, allocations: 27.22 kB / 0.7252 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7089, allocations: 1.219 kB / 0.7252 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.733e-05/0.709, allocations: 54.06 kB / 0.7253 GB, free: 6.703 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.709, allocations: 9.312 kB / 0.7253 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.709, allocations: 0 / 0.7253 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7091, allocations: 0.5312 kB / 0.7253 GB, free: 6.699 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.7091, allocations: 5.156 kB / 0.7253 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7091, allocations: 0 / 0.7253 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.107e-05/0.7091, allocations: 0 / 0.7253 GB, free: 6.695 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.7091, allocations: 1.281 kB / 0.7253 GB, free: 6.695 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 9.098e-05/0.7092, allocations: 116.4 kB / 0.7254 GB, free: 6.574 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.7092, allocations: 3.969 kB / 0.7254 GB, free: 6.57 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.7092, allocations: 9 kB / 0.7254 GB, free: 6.559 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.7093, allocations: 5.078 kB / 0.7254 GB, free: 6.555 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.7093, allocations: 1.219 kB / 0.7254 GB, free: 6.555 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7093, allocations: 0 / 0.7254 GB, free: 6.555 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.7094, allocations: 145.4 kB / 0.7256 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7094, allocations: 1.031 kB / 0.7256 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-06/0.7094, allocations: 3.984 kB / 0.7256 GB, free: 6.363 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7095, allocations: 9 kB / 0.7256 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.7095, allocations: 4 kB / 0.7256 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7095, allocations: 5.062 kB / 0.7256 GB, free: 6.348 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7095, allocations: 4 kB / 0.7256 GB, free: 6.344 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.7096, allocations: 66.41 kB / 0.7257 GB, free: 6.273 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.7096, allocations: 78.33 kB / 0.7257 GB, free: 6.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7097, allocations: 4.938 kB / 0.7257 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.7097, allocations: 0 / 0.7257 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.7097, allocations: 1.156 kB / 0.7257 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.7097, allocations: 1.094 kB / 0.7257 GB, free: 6.176 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.7098, allocations: 84.52 kB / 0.7258 GB, free: 6.094 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7098, allocations: 0 / 0.7258 GB, free: 6.094 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002156/0.71, allocations: 17.03 kB / 0.7258 GB, free: 6.094 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.00054/0.7105, allocations: 0.6282 MB / 0.7265 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.7107, allocations: 10.56 kB / 0.7265 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7107, allocations: 5.125 kB / 0.7265 GB, free: 5.469 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.7107, allocations: 8.75 kB / 0.7265 GB, free: 5.465 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.7109, allocations: 10.41 kB / 0.7265 GB, free: 5.457 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.7119, allocations: 1.076 MB / 0.7275 GB, free: 4.359 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.7123, allocations: 0.6765 MB / 0.7282 GB, free: 3.66 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.7123, allocations: 5.781 kB / 0.7282 GB, free: 3.656 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.7123, allocations: 11.44 kB / 0.7282 GB, free: 3.645 MB / 0.5138 GB Notification: Performance of SimCode: time 2.11e-07/0.7124, allocations: 1.969 kB / 0.7282 GB, free: 3.645 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.7377, allocations: 1.452 MB / 0.7296 GB, free: 2.812 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.65, allocations: 14.03 kB / 0.7297 GB, free: 2.805 MB / 0.5138 GB (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat --tempDir=temp_ClaRa_ClaRa_Basics_Functions_TestCases_TestGenerateGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_ClaRa_Basics_Functions_TestCases_TestGenerateGrid.fmu > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_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_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches