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.01523/0.01523, allocations: 1.429 MB / 16.93 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1152/0.1152, allocations: 22.37 MB / 40.35 MB, free: 0.5742 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.001076/0.001076, allocations: 107.3 kB / 47.83 MB, free: 2.211 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.001351/0.001351, allocations: 191.8 kB / 55.43 MB, free: 6.246 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.405/1.405, allocations: 222.9 MB / 285.8 MB, free: 1.246 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8648/0.8648, allocations: 127.8 MB / 470.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 130.8 kB / 0.5533 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1656, allocations: 82.35 MB / 0.6337 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002079/0.1677, allocations: 1.008 MB / 0.6347 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005011/0.1682, allocations: 208.2 kB / 0.6349 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.1683, allocations: 0 / 0.6349 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 7.694e-05/0.1684, allocations: 4 kB / 0.6349 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.979e-06/0.1684, allocations: 3.938 kB / 0.6349 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1688, allocations: 71.84 kB / 0.635 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.404e-05/0.1689, allocations: 11.94 kB / 0.635 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.1689, allocations: 0 / 0.635 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.1689, allocations: 7.875 kB / 0.635 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.245e-05/0.169, allocations: 4 kB / 0.635 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.169, allocations: 0 / 0.635 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1691, allocations: 83.89 kB / 0.6351 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.1692, allocations: 4 kB / 0.6351 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.1692, allocations: 7.938 kB / 0.6351 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1693, allocations: 51.89 kB / 0.6351 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1693, allocations: 0 / 0.6351 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1693, allocations: 0 / 0.6351 GB, free: 11.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1693, allocations: 0 / 0.6351 GB, free: 11.25 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.0003201/0.1697, allocations: 319.9 kB / 0.6355 GB, free: 10.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1697, allocations: 12.03 kB / 0.6355 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1697, allocations: 8.828 kB / 0.6355 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1699, allocations: 168.3 kB / 0.6356 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1699, allocations: 4.375 kB / 0.6356 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1699, allocations: 8.312 kB / 0.6356 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.17, allocations: 30.27 kB / 0.6357 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.17, allocations: 4.172 kB / 0.6357 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1701, allocations: 3.938 kB / 0.6357 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1701, allocations: 0 / 0.6357 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.1701, allocations: 4 kB / 0.6357 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.1703, allocations: 161.7 kB / 0.6358 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.1703, allocations: 34.52 kB / 0.6359 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.1704, allocations: 12.89 kB / 0.6359 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.1704, allocations: 3.984 kB / 0.6359 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1704, allocations: 34.59 kB / 0.6359 GB, free: 10.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1704, allocations: 0 / 0.6359 GB, free: 10.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.1706, allocations: 53.62 kB / 0.636 GB, free: 10.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1706, allocations: 55.34 kB / 0.636 GB, free: 10.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.1707, allocations: 97.89 kB / 0.6361 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1707, allocations: 25.7 kB / 0.6361 GB, free: 10.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.1707, allocations: 80.14 kB / 0.6362 GB, free: 9.953 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1708, allocations: 7.906 kB / 0.6362 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1708, allocations: 21.69 kB / 0.6362 GB, free: 9.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1709, allocations: 310.8 kB / 0.6365 GB, free: 9.605 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.1709, allocations: 4 kB / 0.6365 GB, free: 9.602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-06/0.1709, allocations: 8 kB / 0.6366 GB, free: 9.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.171, allocations: 25 kB / 0.6366 GB, free: 9.566 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.171, allocations: 0 / 0.6366 GB, free: 9.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.907e-05/0.1711, allocations: 49.59 kB / 0.6366 GB, free: 9.512 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1711, allocations: 4 kB / 0.6366 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1711, allocations: 7.875 kB / 0.6366 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1711, allocations: 3.938 kB / 0.6366 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1711, allocations: 0 / 0.6366 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1711, allocations: 0 / 0.6366 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.1711, allocations: 0 / 0.6366 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1711, allocations: 4 kB / 0.6366 GB, free: 9.492 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.799e-05/0.1712, allocations: 111.6 kB / 0.6368 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.1712, allocations: 3.984 kB / 0.6368 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.1712, allocations: 15.44 kB / 0.6368 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1713, allocations: 0 / 0.6368 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1713, allocations: 3.938 kB / 0.6368 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1713, allocations: 0 / 0.6368 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.97e-05/0.1714, allocations: 149.7 kB / 0.6369 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1714, allocations: 0 / 0.6369 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1714, allocations: 0 / 0.6369 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1714, allocations: 4 kB / 0.6369 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1714, allocations: 7.938 kB / 0.6369 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1714, allocations: 0 / 0.6369 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1714, allocations: 0 / 0.6369 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/0.1715, allocations: 69.06 kB / 0.637 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1715, allocations: 81.11 kB / 0.6371 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1716, allocations: 3.938 kB / 0.6371 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.1716, allocations: 0 / 0.6371 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.1716, allocations: 3.984 kB / 0.6371 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1716, allocations: 4.031 kB / 0.6371 GB, free: 8.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.1716, allocations: 79.28 kB / 0.6372 GB, free: 8.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1716, allocations: 0 / 0.6372 GB, free: 8.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.1718, allocations: 20 kB / 0.6372 GB, free: 8.852 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.0001539/0.172, allocations: 111.2 kB / 0.6373 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.887e-05/0.1721, allocations: 16 kB / 0.6373 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1721, allocations: 0 / 0.6373 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.1721, allocations: 12.16 kB / 0.6373 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1722, allocations: 3.984 kB / 0.6373 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.1724, allocations: 105.1 kB / 0.6374 GB, free: 8.574 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1727, allocations: 0.6729 MB / 0.6381 GB, free: 7.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.1727, allocations: 8 kB / 0.6381 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.1727, allocations: 7.438 kB / 0.6381 GB, free: 7.859 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.1727, allocations: 0 / 0.6381 GB, free: 7.859 MB / 462.1 MB Notification: Performance of Templates: time 0.002587/0.1753, allocations: 0.6137 MB / 0.6387 GB, free: 7.246 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