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.006289/0.006289, 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.000663/0.000663, 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.00079/0.00079, 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.8676/0.8676, allocations: 177.2 MB / 208.6 MB, free: 2.953 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.767/0.767, allocations: 102.5 MB / 367.9 MB, free: 1.48 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.084e-06/2.084e-06, allocations: 0 / 0.5361 GB, free: 40.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.266e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.11 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001288/0.001311, allocations: 1.019 MB / 0.5371 GB, free: 39.45 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.001696, allocations: 200.7 kB / 0.5373 GB, free: 39.33 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.001725, allocations: 0.5312 kB / 0.5373 GB, free: 39.33 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 7.312e-05/0.001798, allocations: 7.859 kB / 0.5373 GB, free: 39.32 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.001806, allocations: 0 / 0.5373 GB, free: 39.32 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.002248, allocations: 82.81 kB / 0.5374 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.002299, allocations: 2.594 kB / 0.5374 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.002344, allocations: 1.094 kB / 0.5374 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.002379, allocations: 3.438 kB / 0.5374 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.002402, allocations: 3.672 kB / 0.5374 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.002415, allocations: 0 / 0.5374 GB, free: 39.29 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.002581, allocations: 102.3 kB / 0.5375 GB, free: 39.26 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.002615, allocations: 5.219 kB / 0.5375 GB, free: 39.26 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.00263, allocations: 1.312 kB / 0.5375 GB, free: 39.26 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.00277, allocations: 71.77 kB / 0.5376 GB, free: 39.23 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002772, allocations: 0.9375 kB / 0.5376 GB, free: 39.23 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.021e-06/0.002773, allocations: 0 / 0.5376 GB, free: 39.23 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.002777, allocations: 1.344 kB / 0.5376 GB, free: 39.23 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.0002579/0.003035, allocations: 242.8 kB / 0.5378 GB, free: 38.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.00308, allocations: 8.688 kB / 0.5378 GB, free: 38.98 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.003104, allocations: 37.03 kB / 0.5379 GB, free: 38.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.003124, allocations: 2.062 kB / 0.5379 GB, free: 38.93 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.003218, allocations: 109.1 kB / 0.538 GB, free: 38.8 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.003226, allocations: 384 / 0.538 GB, free: 38.8 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.003234, allocations: 5.188 kB / 0.538 GB, free: 38.8 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.003338, allocations: 38.42 kB / 0.538 GB, free: 38.77 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.003347, allocations: 192 / 0.538 GB, free: 38.77 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.003355, allocations: 384 / 0.538 GB, free: 38.77 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.00337, allocations: 5.5 kB / 0.538 GB, free: 38.77 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.003389, allocations: 9 kB / 0.538 GB, free: 38.76 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.003527, allocations: 133.2 kB / 0.5382 GB, free: 38.6 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.003589, allocations: 29 kB / 0.5382 GB, free: 38.57 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.003607, allocations: 15.11 kB / 0.5382 GB, free: 38.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.003614, allocations: 0 / 0.5382 GB, free: 38.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.003631, allocations: 35.94 kB / 0.5382 GB, free: 38.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003631, allocations: 1.25 kB / 0.5383 GB, free: 38.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001284/0.00376, allocations: 49.28 kB / 0.5383 GB, free: 38.49 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.003784, allocations: 57.06 kB / 0.5384 GB, free: 38.42 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.165e-05/0.003826, allocations: 97.42 kB / 0.5384 GB, free: 38.32 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-06/0.003831, allocations: 25.7 kB / 0.5385 GB, free: 38.29 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.172e-05/0.003843, allocations: 82.02 kB / 0.5385 GB, free: 38.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.003868, allocations: 8.625 kB / 0.5386 GB, free: 38.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.003889, allocations: 16.19 kB / 0.5386 GB, free: 38.18 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.003924, allocations: 316.4 kB / 0.5389 GB, free: 37.87 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.003936, allocations: 5.125 kB / 0.5389 GB, free: 37.87 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.003944, allocations: 7.562 kB / 0.5389 GB, free: 37.87 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.003973, allocations: 20.7 kB / 0.5389 GB, free: 37.86 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.003975, allocations: 1.188 kB / 0.5389 GB, free: 37.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.243e-05/0.004018, allocations: 53.5 kB / 0.539 GB, free: 37.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.004033, allocations: 10.41 kB / 0.539 GB, free: 37.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.00404, allocations: 11.78 kB / 0.539 GB, free: 37.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.004055, allocations: 1.188 kB / 0.539 GB, free: 37.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.004056, allocations: 3.938 kB / 0.539 GB, free: 37.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.004061, allocations: 0 / 0.539 GB, free: 37.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.00407, allocations: 1.062 kB / 0.539 GB, free: 37.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.004081, allocations: 1.094 kB / 0.539 GB, free: 37.8 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 3.931e-05/0.00412, allocations: 108.2 kB / 0.5391 GB, free: 37.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-06/0.004124, allocations: 1.188 kB / 0.5391 GB, free: 37.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.029e-05/0.004134, allocations: 6.828 kB / 0.5391 GB, free: 37.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.00414, allocations: 2.312 kB / 0.5391 GB, free: 37.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.004145, allocations: 4.5 kB / 0.5391 GB, free: 37.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004148, allocations: 1.281 kB / 0.5391 GB, free: 37.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.293e-05/0.004201, allocations: 129.7 kB / 0.5392 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.004202, allocations: 1.156 kB / 0.5392 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.004202, allocations: 3.938 kB / 0.5392 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.004203, allocations: 5.75 kB / 0.5392 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.004209, allocations: 1.062 kB / 0.5392 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004209, allocations: 0 / 0.5392 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004211, allocations: 5.031 kB / 0.5392 GB, free: 37.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.923e-05/0.00426, allocations: 64.94 kB / 0.5393 GB, free: 37.44 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.004266, allocations: 1.406 kB / 0.5393 GB, free: 37.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.004275, allocations: 3.688 kB / 0.5393 GB, free: 37.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-06/0.004278, allocations: 0 / 0.5393 GB, free: 37.44 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.004295, allocations: 12.28 kB / 0.5393 GB, free: 37.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.004297, allocations: 0 / 0.5393 GB, free: 37.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.004313, allocations: 77.69 kB / 0.5394 GB, free: 37.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.004313, allocations: 0 / 0.5394 GB, free: 37.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001585/0.004471, allocations: 21.44 kB / 0.5394 GB, free: 37.36 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.0002388/0.00471, allocations: 0.626 MB / 0.54 GB, free: 36.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.004781, allocations: 14.16 kB / 0.54 GB, free: 36.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004783, allocations: 0 / 0.54 GB, free: 36.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.00479, allocations: 10.06 kB / 0.5401 GB, free: 36.75 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.004908, allocations: 5.125 kB / 0.5401 GB, free: 36.75 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.005433, allocations: 1.094 MB / 0.5411 GB, free: 35.66 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.005469, allocations: 59.58 kB / 0.5412 GB, free: 35.59 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.038e-05/0.005489, allocations: 6.156 kB / 0.5412 GB, free: 35.58 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.005517, allocations: 9.625 kB / 0.5412 GB, free: 35.57 MB / 490.8 MB Notification: Performance of SimCode: time 5.41e-07/0.005517, allocations: 0.6875 kB / 0.5412 GB, free: 35.57 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.02286, allocations: 2.073 MB / 0.5432 GB, free: 34.71 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.222, allocations: 0 / 0.5432 GB, free: 34.71 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 & /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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 10.101075823418796]