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.008406/0.008406, allocations: 1.437 MB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1784/0.1784, allocations: 22.38 MB / 41.16 MB, free: 7.773 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 104 kB / 48.66 MB, free: 260 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002518/0.002517, allocations: 193.7 kB / 56.25 MB, free: 9.477 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.781/1.781, allocations: 222.9 MB / 286.6 MB, free: 13.96 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.093/1.093, allocations: 127.8 MB / 471.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 124.4 kB / 0.6359 GB, free: 13.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7973, allocations: 82.34 MB / 0.7163 GB, free: 9.699 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002867/0.8003, allocations: 1.022 MB / 0.7173 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0006456/0.801, allocations: 210.8 kB / 0.7175 GB, free: 8.781 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.801, allocations: 1.281 kB / 0.7175 GB, free: 8.781 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.8011, allocations: 0 / 0.7175 GB, free: 8.781 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 1.016e-05/0.8012, allocations: 0 / 0.7175 GB, free: 8.781 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.8017, allocations: 74.84 kB / 0.7176 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.8018, allocations: 2.656 kB / 0.7176 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.8019, allocations: 9.344 kB / 0.7176 GB, free: 8.727 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.8019, allocations: 5.25 kB / 0.7176 GB, free: 8.723 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 2.641e-05/0.8019, allocations: 5.328 kB / 0.7176 GB, free: 8.719 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.8019, allocations: 0 / 0.7176 GB, free: 8.719 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.8021, allocations: 76.86 kB / 0.7177 GB, free: 8.676 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.8022, allocations: 13.5 kB / 0.7177 GB, free: 8.664 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.8022, allocations: 5.469 kB / 0.7177 GB, free: 8.66 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.8024, allocations: 53.23 kB / 0.7178 GB, free: 8.629 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8024, allocations: 0 / 0.7178 GB, free: 8.629 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8024, allocations: 0 / 0.7178 GB, free: 8.629 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.8025, allocations: 0 / 0.7178 GB, free: 8.629 MB / 0.5138 GB 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.0004274/0.8029, allocations: 332.6 kB / 0.7181 GB, free: 8.266 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.8029, allocations: 8.906 kB / 0.7181 GB, free: 8.266 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.803, allocations: 5.969 kB / 0.7181 GB, free: 8.262 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.8031, allocations: 165.6 kB / 0.7183 GB, free: 8.062 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.8032, allocations: 1.781 kB / 0.7183 GB, free: 8.062 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.8032, allocations: 4.359 kB / 0.7183 GB, free: 8.059 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.8033, allocations: 35.84 kB / 0.7183 GB, free: 8.023 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8033, allocations: 192 / 0.7183 GB, free: 8.023 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.8034, allocations: 11.88 kB / 0.7183 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.8034, allocations: 2.812 kB / 0.7183 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.8034, allocations: 4.188 kB / 0.7183 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.8037, allocations: 153.8 kB / 0.7185 GB, free: 7.816 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 8.282e-05/0.8037, allocations: 29.98 kB / 0.7185 GB, free: 7.789 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.8038, allocations: 17.67 kB / 0.7185 GB, free: 7.773 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.8038, allocations: 0 / 0.7185 GB, free: 7.773 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.8038, allocations: 35.69 kB / 0.7185 GB, free: 7.73 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8038, allocations: 0 / 0.7185 GB, free: 7.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001785/0.804, allocations: 53.84 kB / 0.7186 GB, free: 7.688 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.8041, allocations: 56.62 kB / 0.7187 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.8041, allocations: 92.2 kB / 0.7187 GB, free: 7.523 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.8042, allocations: 25.7 kB / 0.7188 GB, free: 7.492 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.8042, allocations: 81.27 kB / 0.7188 GB, free: 7.41 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.8043, allocations: 9.125 kB / 0.7189 GB, free: 7.402 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.8043, allocations: 24.2 kB / 0.7189 GB, free: 7.375 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8045, allocations: 312 kB / 0.7192 GB, free: 7.062 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.8045, allocations: 4.719 kB / 0.7192 GB, free: 7.062 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.8045, allocations: 3.625 kB / 0.7192 GB, free: 7.062 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.8046, allocations: 27.97 kB / 0.7192 GB, free: 7.043 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8046, allocations: 0 / 0.7192 GB, free: 7.043 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.675e-05/0.8046, allocations: 42.25 kB / 0.7192 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8047, allocations: 5.625 kB / 0.7193 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.8047, allocations: 3.984 kB / 0.7193 GB, free: 7.004 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/0.8047, allocations: 9.375 kB / 0.7193 GB, free: 6.996 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.8047, allocations: 4 kB / 0.7193 GB, free: 6.992 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8048, allocations: 0 / 0.7193 GB, free: 6.992 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.8048, allocations: 5.391 kB / 0.7193 GB, free: 6.988 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.8048, allocations: 0 / 0.7193 GB, free: 6.988 MB / 0.5138 GB 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 8.894e-05/0.8049, allocations: 118.3 kB / 0.7194 GB, free: 6.867 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.8049, allocations: 1.406 kB / 0.7194 GB, free: 6.867 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.8049, allocations: 7.438 kB / 0.7194 GB, free: 6.855 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8049, allocations: 0 / 0.7194 GB, free: 6.855 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8049, allocations: 5.375 kB / 0.7194 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.805, allocations: 85 kB / 0.7195 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.805, allocations: 1.25 kB / 0.7195 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.805, allocations: 0 / 0.7195 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.8051, allocations: 1.594 kB / 0.7195 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001014/0.8052, allocations: 129.2 kB / 0.7196 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001762/0.8053, allocations: 216.5 kB / 0.7198 GB, free: 6.414 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.878e-05/0.8054, allocations: 12.05 kB / 0.7198 GB, free: 6.406 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.8054, allocations: 77.28 kB / 0.7199 GB, free: 6.332 MB / 0.5138 GB Notification: Performance of Backend: time 1.824e-06/0.8054, allocations: 0 / 0.7199 GB, free: 6.332 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.8059, allocations: 101.8 kB / 0.72 GB, free: 6.254 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0005168/0.8065, allocations: 0.5363 MB / 0.7205 GB, free: 5.68 MB / 0.5138 GB Notification: Performance of Templates: time 0.004319/0.8108, allocations: 0.6772 MB / 0.7212 GB, free: 5.324 MB / 0.5138 GB 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=480 -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