Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.conf.json 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/TILMedia 1.8.1-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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") translateModel(ClaRa.Basics.Functions.TestCases.TestGenerateGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|L|N|Time|_derdummy|_dummy|dx.1.|dx.2.|dx.3.",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01204/0.01204, allocations: 1.42 MB / 16.65 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1049/0.1049, allocations: 22.37 MB / 40.07 MB, free: 0.8867 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 99.05 kB / 47.53 MB, free: 2.48 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 192.5 kB / 55.12 MB, free: 6.523 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.212/1.212, allocations: 222.9 MB / 285.5 MB, free: 1.434 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 6.965/6.965, allocations: 127.8 MB / 470.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 128.9 kB / 0.5527 GB, free: 42.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1506, allocations: 82.36 MB / 0.6332 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.00195/0.1526, allocations: 1.069 MB / 0.6342 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.1531, allocations: 212.1 kB / 0.6344 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.1531, allocations: 4 kB / 0.6344 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 7.722e-05/0.1532, allocations: 7.938 kB / 0.6344 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.945e-06/0.1532, allocations: 0 / 0.6344 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.1536, allocations: 59.92 kB / 0.6345 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.456e-05/0.1537, allocations: 7.938 kB / 0.6345 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.1537, allocations: 4 kB / 0.6345 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.468e-05/0.1537, allocations: 7.828 kB / 0.6345 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.699e-05/0.1538, allocations: 3.984 kB / 0.6345 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1538, allocations: 0 / 0.6345 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1539, allocations: 79.91 kB / 0.6346 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.154, allocations: 7.984 kB / 0.6346 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.154, allocations: 3.938 kB / 0.6346 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1541, allocations: 55.91 kB / 0.6346 GB, free: 11.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1541, allocations: 4 kB / 0.6347 GB, free: 11.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1541, allocations: 0 / 0.6347 GB, free: 11.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1541, allocations: 0 / 0.6347 GB, free: 11.87 MB / 462.1 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.0003195/0.1544, allocations: 319.6 kB / 0.635 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1545, allocations: 8.031 kB / 0.635 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1545, allocations: 4.844 kB / 0.635 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1547, allocations: 176.5 kB / 0.6351 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1547, allocations: 384 / 0.6351 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1547, allocations: 4.312 kB / 0.6351 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.1548, allocations: 34.25 kB / 0.6352 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1548, allocations: 4.172 kB / 0.6352 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1548, allocations: 3.938 kB / 0.6352 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1548, allocations: 4 kB / 0.6352 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.1549, allocations: 8 kB / 0.6352 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.155, allocations: 149.7 kB / 0.6353 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.1551, allocations: 38.52 kB / 0.6354 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1551, allocations: 12.92 kB / 0.6354 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1551, allocations: 0 / 0.6354 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1551, allocations: 34.56 kB / 0.6354 GB, free: 10.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1552, allocations: 7.938 kB / 0.6354 GB, free: 10.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001246/0.1553, allocations: 49.62 kB / 0.6355 GB, free: 10.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1553, allocations: 55.34 kB / 0.6355 GB, free: 10.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.1554, allocations: 97.89 kB / 0.6356 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1554, allocations: 29.7 kB / 0.6356 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1554, allocations: 80.14 kB / 0.6357 GB, free: 10.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1555, allocations: 7.891 kB / 0.6357 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1555, allocations: 17.7 kB / 0.6357 GB, free: 10.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1556, allocations: 310.8 kB / 0.636 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.1557, allocations: 8 kB / 0.6361 GB, free: 10.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.1557, allocations: 8.125 kB / 0.6361 GB, free: 10.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.1557, allocations: 20.84 kB / 0.6361 GB, free: 10.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1557, allocations: 0 / 0.6361 GB, free: 10.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.897e-05/0.1558, allocations: 49.59 kB / 0.6361 GB, free: 10.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1558, allocations: 7.938 kB / 0.6361 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1558, allocations: 3.938 kB / 0.6361 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1558, allocations: 4 kB / 0.6361 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1558, allocations: 0 / 0.6361 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1558, allocations: 0 / 0.6361 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.1559, allocations: 0 / 0.6361 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1559, allocations: 4.062 kB / 0.6361 GB, free: 10.11 MB / 462.1 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 6.751e-05/0.1559, allocations: 113.8 kB / 0.6363 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.156, allocations: 0 / 0.6363 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.156, allocations: 11.44 kB / 0.6363 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.156, allocations: 0 / 0.6363 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.156, allocations: 7.938 kB / 0.6363 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.156, allocations: 0 / 0.6363 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1561, allocations: 149.7 kB / 0.6364 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1561, allocations: 0 / 0.6364 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-07/0.1561, allocations: 0 / 0.6364 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.1561, allocations: 4 kB / 0.6364 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.1562, allocations: 3.938 kB / 0.6364 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1562, allocations: 0 / 0.6364 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1562, allocations: 3.984 kB / 0.6364 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1563, allocations: 77.23 kB / 0.6365 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1563, allocations: 77.11 kB / 0.6366 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1564, allocations: 7.922 kB / 0.6366 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-06/0.1564, allocations: 0 / 0.6366 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.1564, allocations: 8.031 kB / 0.6366 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1564, allocations: 0 / 0.6366 GB, free: 9.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.1564, allocations: 79.28 kB / 0.6367 GB, free: 9.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1564, allocations: 0 / 0.6367 GB, free: 9.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000189/0.1566, allocations: 19.94 kB / 0.6367 GB, free: 9.461 MB / 462.1 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.0001618/0.1568, allocations: 119.2 kB / 0.6368 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.1569, allocations: 12 kB / 0.6368 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1569, allocations: 4.156 kB / 0.6368 GB, free: 9.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.1569, allocations: 11.98 kB / 0.6368 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.157, allocations: 4 kB / 0.6368 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.1573, allocations: 104.5 kB / 0.6369 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1575, allocations: 0.6768 MB / 0.6376 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.697e-05/0.1575, allocations: 0 / 0.6376 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.1576, allocations: 11.42 kB / 0.6376 GB, free: 8.465 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1576, allocations: 4.062 kB / 0.6376 GB, free: 8.461 MB / 462.1 MB Notification: Performance of Templates: time 0.002775/0.1603, allocations: 0.6058 MB / 0.6382 GB, free: 7.855 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.pipe 2>&1) diffSimulationResults("ClaRa_dev_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_dev_ClaRa.Basics.Functions.TestCases.TestGenerateGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches