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/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008758/0.008758, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 163.6 kB / 27.85 MB, free: 5.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8631/0.8631, allocations: 177.2 MB / 208.6 MB, free: 2.957 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7284/0.7284, allocations: 102.5 MB / 367.9 MB, free: 1.496 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 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"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.5362 GB, free: 40.01 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.637e-05, allocations: 6.719 kB / 0.5362 GB, free: 40.01 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002112/0.002139, allocations: 1.02 MB / 0.5372 GB, free: 39.34 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.000502/0.002641, allocations: 199.4 kB / 0.5373 GB, free: 39.23 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.002676, allocations: 0 / 0.5373 GB, free: 39.23 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 9.395e-05/0.002769, allocations: 5.781 kB / 0.5373 GB, free: 39.22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-06/0.002779, allocations: 0.5625 kB / 0.5374 GB, free: 39.22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.003363, allocations: 79.28 kB / 0.5374 GB, free: 39.19 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.003432, allocations: 5.781 kB / 0.5374 GB, free: 39.19 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.003479, allocations: 2.375 kB / 0.5374 GB, free: 39.19 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.003515, allocations: 1.125 kB / 0.5374 GB, free: 39.19 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.003539, allocations: 1.812 kB / 0.5374 GB, free: 39.19 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.003553, allocations: 1.25 kB / 0.5374 GB, free: 39.19 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.003766, allocations: 101.8 kB / 0.5375 GB, free: 39.16 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.003803, allocations: 6.656 kB / 0.5375 GB, free: 39.16 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.003822, allocations: 0 / 0.5375 GB, free: 39.16 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.003994, allocations: 71.47 kB / 0.5376 GB, free: 39.13 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003998, allocations: 1.531 kB / 0.5376 GB, free: 39.13 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.305e-06/0.004, allocations: 0.6875 kB / 0.5376 GB, free: 39.13 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004006, allocations: 0 / 0.5376 GB, free: 39.13 MB / 490.8 MB 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.0003129/0.004319, allocations: 243.1 kB / 0.5378 GB, free: 38.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.004377, allocations: 9.625 kB / 0.5379 GB, free: 38.88 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.00441, allocations: 37.09 kB / 0.5379 GB, free: 38.83 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.004435, allocations: 0.9375 kB / 0.5379 GB, free: 38.83 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004561, allocations: 112.6 kB / 0.538 GB, free: 38.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.004577, allocations: 384 / 0.538 GB, free: 38.7 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004585, allocations: 1.875 kB / 0.538 GB, free: 38.7 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004694, allocations: 31.48 kB / 0.538 GB, free: 38.67 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.004705, allocations: 5.656 kB / 0.538 GB, free: 38.67 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004714, allocations: 1.219 kB / 0.538 GB, free: 38.67 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.004734, allocations: 8.641 kB / 0.538 GB, free: 38.66 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.004756, allocations: 6.25 kB / 0.538 GB, free: 38.66 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.004923, allocations: 133.3 kB / 0.5382 GB, free: 38.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.004997, allocations: 26.33 kB / 0.5382 GB, free: 38.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.005017, allocations: 22.53 kB / 0.5382 GB, free: 38.46 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.005026, allocations: 0 / 0.5382 GB, free: 38.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005048, allocations: 31.69 kB / 0.5383 GB, free: 38.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.005049, allocations: 1.188 kB / 0.5383 GB, free: 38.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002827/0.005332, allocations: 50.91 kB / 0.5383 GB, free: 38.39 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.005366, allocations: 55.34 kB / 0.5384 GB, free: 38.32 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.005423, allocations: 97.33 kB / 0.5384 GB, free: 38.22 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.00543, allocations: 26.95 kB / 0.5385 GB, free: 38.19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.428e-05/0.005445, allocations: 81.48 kB / 0.5386 GB, free: 38.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.005475, allocations: 8.375 kB / 0.5386 GB, free: 38.1 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.005502, allocations: 21.2 kB / 0.5386 GB, free: 38.08 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.005539, allocations: 316.1 kB / 0.5389 GB, free: 37.76 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.005553, allocations: 9.281 kB / 0.5389 GB, free: 37.76 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.005565, allocations: 8.438 kB / 0.5389 GB, free: 37.76 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.0056, allocations: 23.75 kB / 0.5389 GB, free: 37.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.005603, allocations: 0 / 0.5389 GB, free: 37.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.795e-05/0.00566, allocations: 50.73 kB / 0.539 GB, free: 37.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.005677, allocations: 5.375 kB / 0.539 GB, free: 37.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.005686, allocations: 3.984 kB / 0.539 GB, free: 37.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.005703, allocations: 0 / 0.539 GB, free: 37.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.005704, allocations: 6.594 kB / 0.539 GB, free: 37.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.00571, allocations: 0 / 0.539 GB, free: 37.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.005726, allocations: 0 / 0.539 GB, free: 37.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.005738, allocations: 3.25 kB / 0.539 GB, free: 37.7 MB / 490.8 MB 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 4.129e-05/0.005779, allocations: 108.7 kB / 0.5391 GB, free: 37.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-06/0.005783, allocations: 1.25 kB / 0.5391 GB, free: 37.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.005797, allocations: 6.875 kB / 0.5391 GB, free: 37.58 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.005809, allocations: 1.344 kB / 0.5391 GB, free: 37.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.005815, allocations: 7.75 kB / 0.5391 GB, free: 37.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005818, allocations: 0 / 0.5391 GB, free: 37.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.138e-05/0.005889, allocations: 129.9 kB / 0.5392 GB, free: 37.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.00589, allocations: 0 / 0.5392 GB, free: 37.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.005891, allocations: 1.031 kB / 0.5392 GB, free: 37.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.005892, allocations: 0 / 0.5392 GB, free: 37.41 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.005899, allocations: 9.5 kB / 0.5392 GB, free: 37.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.0059, allocations: 2.719 kB / 0.5392 GB, free: 37.41 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005901, allocations: 3.938 kB / 0.5392 GB, free: 37.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.782e-05/0.005959, allocations: 66.72 kB / 0.5393 GB, free: 37.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-06/0.005967, allocations: 1.25 kB / 0.5393 GB, free: 37.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.005978, allocations: 1.219 kB / 0.5393 GB, free: 37.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-06/0.005983, allocations: 0 / 0.5393 GB, free: 37.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.005998, allocations: 5.094 kB / 0.5393 GB, free: 37.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.006, allocations: 0.5625 kB / 0.5393 GB, free: 37.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.995e-05/0.00602, allocations: 83.41 kB / 0.5394 GB, free: 37.26 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00602, allocations: 0 / 0.5394 GB, free: 37.26 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001679/0.006188, allocations: 20.03 kB / 0.5394 GB, free: 37.25 MB / 490.8 MB 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.0002599/0.006448, allocations: 0.6314 MB / 0.54 GB, free: 36.65 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.006524, allocations: 12.92 kB / 0.54 GB, free: 36.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.006526, allocations: 1.75 kB / 0.54 GB, free: 36.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.006533, allocations: 5.25 kB / 0.5401 GB, free: 36.65 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.006651, allocations: 11.44 kB / 0.5401 GB, free: 36.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.007181, allocations: 1.093 MB / 0.5411 GB, free: 35.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.007216, allocations: 60.38 kB / 0.5412 GB, free: 35.48 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.007237, allocations: 1.219 kB / 0.5412 GB, free: 35.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.007267, allocations: 9.781 kB / 0.5412 GB, free: 35.47 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.007267, allocations: 1.219 kB / 0.5412 GB, free: 35.47 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.02401, allocations: 2.079 MB / 0.5432 GB, free: 34.61 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.306, allocations: 4.375 kB / 0.5432 GB, free: 34.61 MB / 490.8 MB " [Timeout remaining time 793] (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 & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ClaRa_ClaRa_Basics_Functions_TestCases_TestGenerateGrid.fmu > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestGenerateGrid.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv failed! Error: Could not read variable Time in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv. Warning: Get data of variable Time from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.csv failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 10.203529221005738]