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.00652/0.00652, allocations: 1.443 MB / 21.29 MB, free: 3.258 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.0009157/0.0009157, allocations: 91.44 kB / 24.91 MB, free: 6.742 MB / 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.001038/0.001038, allocations: 169 kB / 28.62 MB, free: 4.309 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.9572/0.9572, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.803/0.803, allocations: 102.5 MB / 368.7 MB, free: 1.484 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: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.5374 GB, free: 39.75 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.78e-05, allocations: 4.297 kB / 0.5374 GB, free: 39.74 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001811/0.001849, allocations: 1.016 MB / 0.5384 GB, free: 39.08 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.000536/0.002385, allocations: 200.4 kB / 0.5386 GB, free: 38.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.002422, allocations: 0 / 0.5386 GB, free: 38.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 9.371e-05/0.002516, allocations: 2.156 kB / 0.5386 GB, free: 38.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 9.638e-06/0.002525, allocations: 1.156 kB / 0.5386 GB, free: 38.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.003108, allocations: 84.23 kB / 0.5387 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.003174, allocations: 6.344 kB / 0.5387 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.003223, allocations: 0 / 0.5387 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.003258, allocations: 3.562 kB / 0.5387 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.00328, allocations: 0 / 0.5387 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.003296, allocations: 1.375 kB / 0.5387 GB, free: 38.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.003467, allocations: 106.7 kB / 0.5388 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.003497, allocations: 5.453 kB / 0.5388 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.003514, allocations: 1.594 kB / 0.5388 GB, free: 38.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.003665, allocations: 67.72 kB / 0.5388 GB, free: 38.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003667, allocations: 1.469 kB / 0.5388 GB, free: 38.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.124e-06/0.003669, allocations: 0 / 0.5388 GB, free: 38.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.003674, allocations: 0 / 0.5388 GB, free: 38.87 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.0002751/0.003949, allocations: 246.1 kB / 0.5391 GB, free: 38.61 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.003999, allocations: 9.344 kB / 0.5391 GB, free: 38.61 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.00403, allocations: 3.562 kB / 0.5391 GB, free: 38.61 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.004137, allocations: 110.7 kB / 0.5392 GB, free: 38.48 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.004146, allocations: 6.969 kB / 0.5392 GB, free: 38.47 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.004155, allocations: 384 / 0.5392 GB, free: 38.47 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.004249, allocations: 35.02 kB / 0.5392 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.004258, allocations: 2.656 kB / 0.5392 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.004268, allocations: 384 / 0.5392 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.004286, allocations: 5.359 kB / 0.5392 GB, free: 38.44 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.004307, allocations: 13.31 kB / 0.5393 GB, free: 38.43 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.004435, allocations: 103.3 kB / 0.5393 GB, free: 38.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.028e-05/0.004505, allocations: 34.41 kB / 0.5394 GB, free: 38.28 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.004521, allocations: 7.609 kB / 0.5394 GB, free: 38.27 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004528, allocations: 1.219 kB / 0.5394 GB, free: 38.27 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.004547, allocations: 35.95 kB / 0.5394 GB, free: 38.23 MB / 490.8 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.004548, allocations: 0 / 0.5394 GB, free: 38.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001452/0.004693, allocations: 58.11 kB / 0.5395 GB, free: 38.19 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.004718, allocations: 52.88 kB / 0.5395 GB, free: 38.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.004766, allocations: 97.61 kB / 0.5396 GB, free: 38.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.004771, allocations: 25.7 kB / 0.5396 GB, free: 37.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.004785, allocations: 81.3 kB / 0.5397 GB, free: 37.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.004812, allocations: 18.94 kB / 0.5397 GB, free: 37.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.004833, allocations: 12.75 kB / 0.5398 GB, free: 37.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.644e-05/0.00487, allocations: 312.3 kB / 0.5401 GB, free: 37.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.004882, allocations: 7.75 kB / 0.5401 GB, free: 37.57 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.0049, allocations: 4.719 kB / 0.5401 GB, free: 37.57 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.004936, allocations: 22.12 kB / 0.5401 GB, free: 37.56 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004938, allocations: 2.719 kB / 0.5401 GB, free: 37.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.993e-05/0.004998, allocations: 46.38 kB / 0.5401 GB, free: 37.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.005013, allocations: 5.688 kB / 0.5401 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.00502, allocations: 0 / 0.5401 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.005034, allocations: 0 / 0.5401 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.005035, allocations: 0 / 0.5401 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.005042, allocations: 5.516 kB / 0.5401 GB, free: 37.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.005055, allocations: 11.88 kB / 0.5402 GB, free: 37.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.005067, allocations: 2.094 kB / 0.5402 GB, free: 37.51 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.765e-05/0.005115, allocations: 112.2 kB / 0.5403 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-06/0.005121, allocations: 5.062 kB / 0.5403 GB, free: 37.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.005134, allocations: 4.531 kB / 0.5403 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.005142, allocations: 1.531 kB / 0.5403 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.005146, allocations: 2.344 kB / 0.5403 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005149, allocations: 3.938 kB / 0.5403 GB, free: 37.38 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.743e-05/0.005217, allocations: 104.5 kB / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.005218, allocations: 1.969 kB / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.005219, allocations: 0 / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005221, allocations: 4.875 kB / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005227, allocations: 1.031 kB / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005228, allocations: 0.8438 kB / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005229, allocations: 1.156 kB / 0.5404 GB, free: 37.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.005306, allocations: 83.25 kB / 0.5405 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.005314, allocations: 1.312 kB / 0.5405 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005324, allocations: 0.875 kB / 0.5405 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.005332, allocations: 5.344 kB / 0.5405 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.005347, allocations: 0 / 0.5405 GB, free: 37.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005352, allocations: 3.062 kB / 0.5405 GB, free: 37.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.005371, allocations: 79.41 kB / 0.5406 GB, free: 37.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005371, allocations: 1.344 kB / 0.5406 GB, free: 37.09 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002161/0.005587, allocations: 23.72 kB / 0.5406 GB, free: 37.09 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.0001883/0.005775, allocations: 115.8 kB / 0.5407 GB, free: 37 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.005868, allocations: 22.22 kB / 0.5407 GB, free: 36.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.00587, allocations: 0 / 0.5407 GB, free: 36.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 8.265e-06/0.005878, allocations: 5.344 kB / 0.5407 GB, free: 36.99 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.00603, allocations: 4.625 kB / 0.5407 GB, free: 36.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.006271, allocations: 124.1 kB / 0.5408 GB, free: 36.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.006318, allocations: 60.41 kB / 0.5409 GB, free: 36.79 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.006351, allocations: 10.81 kB / 0.5409 GB, free: 36.78 MB / 490.8 MB Notification: Performance of SimCode: time 7.61e-07/0.006352, allocations: 1.25 kB / 0.5409 GB, free: 36.78 MB / 490.8 MB Notification: Performance of Templates: time 0.002414/0.008765, allocations: 0.6727 MB / 0.5416 GB, free: 36.77 MB / 490.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile [Timeout 800] (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 & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 800] 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: 5.721140188165009]