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.02512/0.02512, allocations: 1.802 MB / 21.16 MB, free: 3.094 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.001968/0.001968, allocations: 82.16 kB / 24.88 MB, free: 6.453 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.001929/0.001929, allocations: 168.8 kB / 28.74 MB, free: 3.406 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 1.494/1.494, allocations: 177.1 MB / 209.6 MB, free: 2.383 MB / 186.7 MB " [Timeout remaining time 178] 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 1.112/1.112, allocations: 102.5 MB / 369.1 MB, free: 0.9258 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 1.0.0 (/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.164e-06/2.164e-06, allocations: 0 / 469.1 MB, free: 13.07 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.495e-05, allocations: 2.312 kB / 469.1 MB, free: 13.06 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002153/0.002188, allocations: 1.02 MB / 470.1 MB, free: 12.04 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005871/0.002775, allocations: 191.3 kB / 470.3 MB, free: 11.86 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.002802, allocations: 7.938 kB / 470.3 MB, free: 11.85 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 8.636e-05/0.002888, allocations: 0 / 470.3 MB, free: 11.85 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.245e-06/0.002896, allocations: 0 / 470.3 MB, free: 11.85 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.003439, allocations: 83.7 kB / 470.4 MB, free: 11.77 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.003491, allocations: 7.984 kB / 470.4 MB, free: 11.76 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.003528, allocations: 3.984 kB / 470.4 MB, free: 11.75 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.00356, allocations: 0 / 470.4 MB, free: 11.75 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 2.155e-05/0.003582, allocations: 4 kB / 470.4 MB, free: 11.75 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003593, allocations: 0 / 470.4 MB, free: 11.75 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.003812, allocations: 95.8 kB / 470.5 MB, free: 11.66 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.00385, allocations: 7.938 kB / 470.5 MB, free: 11.65 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.003869, allocations: 0 / 470.5 MB, free: 11.65 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.004045, allocations: 71.81 kB / 470.6 MB, free: 11.58 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004048, allocations: 0 / 470.6 MB, free: 11.58 MB / 442.8 MB Notification: Performance of FrontEnd: time 3.677e-06/0.004052, allocations: 4 kB / 470.6 MB, free: 11.57 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004055, allocations: 0 / 470.6 MB, free: 11.57 MB / 442.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.0004203/0.004476, allocations: 348.4 kB / 470.9 MB, free: 11.2 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.004512, allocations: 8.031 kB / 470.9 MB, free: 11.19 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.004553, allocations: 0.9375 kB / 470.9 MB, free: 11.19 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.004706, allocations: 112.6 kB / 471.1 MB, free: 11.05 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.004715, allocations: 4.375 kB / 471.1 MB, free: 11.05 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.004723, allocations: 384 / 471.1 MB, free: 11.05 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.004828, allocations: 46.16 kB / 471.1 MB, free: 11 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004836, allocations: 192 / 471.1 MB, free: 11 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.004845, allocations: 384 / 471.1 MB, free: 11 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.004868, allocations: 4.375 kB / 471.1 MB, free: 10.99 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.004889, allocations: 7.875 kB / 471.1 MB, free: 10.98 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.005067, allocations: 124.6 kB / 471.2 MB, free: 10.83 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.005154, allocations: 31.09 kB / 471.3 MB, free: 10.79 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.005176, allocations: 15.72 kB / 471.3 MB, free: 10.77 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.005184, allocations: 0 / 471.3 MB, free: 10.77 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.005218, allocations: 41.33 kB / 471.3 MB, free: 10.71 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.005218, allocations: 0 / 471.3 MB, free: 10.71 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.005374, allocations: 41.7 kB / 471.4 MB, free: 10.67 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.005417, allocations: 51.45 kB / 471.4 MB, free: 10.61 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.005548, allocations: 161.9 kB / 471.6 MB, free: 10.43 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.005566, allocations: 25.7 kB / 471.6 MB, free: 10.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.005642, allocations: 126.9 kB / 471.7 MB, free: 10.27 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.00567, allocations: 3.953 kB / 471.7 MB, free: 10.27 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.005711, allocations: 23.38 kB / 471.8 MB, free: 10.23 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.005961, allocations: 496.3 kB / 472.2 MB, free: 9.738 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.005976, allocations: 8 kB / 472.2 MB, free: 9.73 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.005985, allocations: 3.938 kB / 472.2 MB, free: 9.727 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.006019, allocations: 15.69 kB / 472.3 MB, free: 9.707 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.006021, allocations: 0 / 472.3 MB, free: 9.707 MB / 442.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.897e-05/0.00609, allocations: 41.69 kB / 472.3 MB, free: 9.66 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.006103, allocations: 4 kB / 472.3 MB, free: 9.656 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.00611, allocations: 0 / 472.3 MB, free: 9.656 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.006123, allocations: 0 / 472.3 MB, free: 9.656 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.006124, allocations: 0 / 472.3 MB, free: 9.656 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.006133, allocations: 7.984 kB / 472.3 MB, free: 9.648 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.006151, allocations: 11.95 kB / 472.3 MB, free: 9.637 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.00616, allocations: 0 / 472.3 MB, free: 9.637 MB / 442.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 0.0001051/0.006265, allocations: 152.6 kB / 472.5 MB, free: 9.477 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.006276, allocations: 7.938 kB / 472.5 MB, free: 9.469 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.006296, allocations: 3.688 kB / 472.5 MB, free: 9.461 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.006307, allocations: 3.984 kB / 472.5 MB, free: 9.457 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006311, allocations: 0 / 472.5 MB, free: 9.457 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.006316, allocations: 3.938 kB / 472.5 MB, free: 9.453 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.006442, allocations: 116.6 kB / 472.6 MB, free: 9.305 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006443, allocations: 0 / 472.6 MB, free: 9.305 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.006444, allocations: 0 / 472.6 MB, free: 9.305 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006446, allocations: 7.938 kB / 472.6 MB, free: 9.297 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006452, allocations: 0 / 472.6 MB, free: 9.297 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006453, allocations: 0 / 472.6 MB, free: 9.297 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006454, allocations: 192 / 472.6 MB, free: 9.297 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.006563, allocations: 84.36 kB / 472.7 MB, free: 9.191 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.006568, allocations: 0 / 472.7 MB, free: 9.191 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.006583, allocations: 7.984 kB / 472.7 MB, free: 9.184 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.00659, allocations: 0 / 472.7 MB, free: 9.184 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.006607, allocations: 0 / 472.7 MB, free: 9.184 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.00661, allocations: 0 / 472.7 MB, free: 9.184 MB / 442.8 MB Notification: Performance of sorting global known variables: time 7.073e-05/0.006681, allocations: 131.2 kB / 472.8 MB, free: 9.055 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006681, allocations: 0 / 472.8 MB, free: 9.055 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002021/0.006883, allocations: 23.88 kB / 472.9 MB, free: 9.031 MB / 442.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.0002053/0.007088, allocations: 111.2 kB / 473 MB, free: 8.914 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.00718, allocations: 15.69 kB / 473 MB, free: 8.895 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007182, allocations: 0 / 473 MB, free: 8.895 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.007202, allocations: 11.69 kB / 473 MB, free: 8.879 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.00736, allocations: 13.84 kB / 473 MB, free: 8.867 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.007618, allocations: 94.78 kB / 473.1 MB, free: 8.746 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.047e-05/0.007689, allocations: 63.34 kB / 473.2 MB, free: 8.664 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.007707, allocations: 4 kB / 473.2 MB, free: 8.66 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.007732, allocations: 12.5 kB / 473.2 MB, free: 8.648 MB / 442.8 MB Notification: Performance of SimCode: time 6.02e-07/0.007733, allocations: 0 / 473.2 MB, free: 8.648 MB / 442.8 MB Notification: Performance of Templates: time 0.003774/0.01151, allocations: 0.6369 MB / 473.8 MB, free: 8.012 MB / 442.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=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) [Timeout 240] 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.621373545029201]