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.009682/0.009682, allocations: 1.441 MB / 17.74 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1175/0.1175, allocations: 22.38 MB / 41.16 MB, free: 7.777 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.001156/0.001156, allocations: 96.06 kB / 48.64 MB, free: 272 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.001582/0.001582, allocations: 196.8 kB / 56.25 MB, free: 9.457 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.486/1.486, allocations: 222.9 MB / 286.6 MB, free: 13.94 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9774/0.9774, allocations: 127.8 MB / 471.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003593/0.003593, allocations: 140.3 kB / 0.6359 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6839, allocations: 82.34 MB / 0.7163 GB, free: 9.781 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.002667/0.6865, allocations: 1.028 MB / 0.7173 GB, free: 9.016 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.6872, allocations: 207.2 kB / 0.7175 GB, free: 8.859 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.6872, allocations: 1.094 kB / 0.7175 GB, free: 8.859 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 9.517e-05/0.6873, allocations: 3.938 kB / 0.7175 GB, free: 8.855 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 9.337e-06/0.6873, allocations: 0 / 0.7175 GB, free: 8.855 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.6879, allocations: 72 kB / 0.7176 GB, free: 8.812 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.6879, allocations: 5.75 kB / 0.7176 GB, free: 8.809 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.688, allocations: 9.812 kB / 0.7176 GB, free: 8.801 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.688, allocations: 7.922 kB / 0.7176 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.688, allocations: 1.844 kB / 0.7176 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.688, allocations: 0 / 0.7176 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.6882, allocations: 81.95 kB / 0.7177 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.6883, allocations: 2 kB / 0.7177 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.6883, allocations: 3.938 kB / 0.7177 GB, free: 8.742 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.6885, allocations: 65.42 kB / 0.7178 GB, free: 8.699 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6885, allocations: 0 / 0.7178 GB, free: 8.699 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6885, allocations: 0 / 0.7178 GB, free: 8.699 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6885, allocations: 4 kB / 0.7178 GB, free: 8.695 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.0005352/0.689, allocations: 327.6 kB / 0.7181 GB, free: 8.336 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6891, allocations: 14.03 kB / 0.7181 GB, free: 8.332 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.6891, allocations: 0.9375 kB / 0.7181 GB, free: 8.332 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.6893, allocations: 162.6 kB / 0.7183 GB, free: 8.137 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-06/0.6893, allocations: 384 / 0.7183 GB, free: 8.137 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.6894, allocations: 384 / 0.7183 GB, free: 8.137 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.6895, allocations: 39.97 kB / 0.7183 GB, free: 8.098 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6895, allocations: 192 / 0.7183 GB, free: 8.098 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6895, allocations: 7.938 kB / 0.7183 GB, free: 8.09 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6896, allocations: 1.531 kB / 0.7183 GB, free: 8.09 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.6896, allocations: 8.125 kB / 0.7183 GB, free: 8.086 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.6898, allocations: 150 kB / 0.7185 GB, free: 7.895 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.6899, allocations: 30.08 kB / 0.7185 GB, free: 7.867 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.6899, allocations: 12.83 kB / 0.7185 GB, free: 7.855 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.69, allocations: 0 / 0.7185 GB, free: 7.855 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.69, allocations: 35.75 kB / 0.7185 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.69, allocations: 0 / 0.7185 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3): time 0.0001959/0.6902, allocations: 58.22 kB / 0.7186 GB, free: 7.766 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.6902, allocations: 52.81 kB / 0.7187 GB, free: 7.703 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.6903, allocations: 91.98 kB / 0.7187 GB, free: 7.605 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.6904, allocations: 25.7 kB / 0.7188 GB, free: 7.574 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.6904, allocations: 81.7 kB / 0.7188 GB, free: 7.492 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.6905, allocations: 12.88 kB / 0.7189 GB, free: 7.48 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.6905, allocations: 20.27 kB / 0.7189 GB, free: 7.457 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.6907, allocations: 311.8 kB / 0.7192 GB, free: 7.145 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.6907, allocations: 3.531 kB / 0.7192 GB, free: 7.145 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.6907, allocations: 9.266 kB / 0.7192 GB, free: 7.141 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.6908, allocations: 23.16 kB / 0.7192 GB, free: 7.125 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6908, allocations: 0 / 0.7192 GB, free: 7.125 MB / 0.5138 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.612e-05/0.6909, allocations: 51.17 kB / 0.7193 GB, free: 7.082 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6909, allocations: 6.594 kB / 0.7193 GB, free: 7.082 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6909, allocations: 9.531 kB / 0.7193 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.6909, allocations: 0 / 0.7193 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.6909, allocations: 0 / 0.7193 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6909, allocations: 1.5 kB / 0.7193 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.6909, allocations: 0 / 0.7193 GB, free: 7.074 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.6909, allocations: 5.469 kB / 0.7193 GB, free: 7.07 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 0.0001137/0.6911, allocations: 117.1 kB / 0.7194 GB, free: 6.949 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.6911, allocations: 3.938 kB / 0.7194 GB, free: 6.945 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.6911, allocations: 8.938 kB / 0.7194 GB, free: 6.934 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6911, allocations: 5.531 kB / 0.7194 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6911, allocations: 0 / 0.7194 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6911, allocations: 1.531 kB / 0.7194 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.6913, allocations: 156.6 kB / 0.7196 GB, free: 6.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6913, allocations: 5.344 kB / 0.7196 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.6913, allocations: 0 / 0.7196 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6913, allocations: 0 / 0.7196 GB, free: 6.727 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.6913, allocations: 5.281 kB / 0.7196 GB, free: 6.723 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.6913, allocations: 0 / 0.7196 GB, free: 6.723 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6913, allocations: 0 / 0.7196 GB, free: 6.723 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.6914, allocations: 76.19 kB / 0.7196 GB, free: 6.645 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.6915, allocations: 77.11 kB / 0.7197 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.6915, allocations: 9.172 kB / 0.7197 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-06/0.6915, allocations: 0 / 0.7197 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.6915, allocations: 1.312 kB / 0.7197 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.6915, allocations: 0 / 0.7197 GB, free: 6.543 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.6916, allocations: 77.84 kB / 0.7198 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/0.6916, allocations: 0 / 0.7198 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002275/0.6918, allocations: 19.56 kB / 0.7198 GB, free: 6.465 MB / 0.5138 GB 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.0002517/0.6921, allocations: 114.2 kB / 0.7199 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.6922, allocations: 14.64 kB / 0.7199 GB, free: 6.363 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6922, allocations: 0 / 0.7199 GB, free: 6.363 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.6922, allocations: 13.98 kB / 0.72 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.6923, allocations: 1.5 kB / 0.72 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.6926, allocations: 97.69 kB / 0.72 GB, free: 6.25 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.6931, allocations: 0.6774 MB / 0.7207 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.6931, allocations: 1.5 kB / 0.7207 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.6931, allocations: 11.42 kB / 0.7207 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of SimCode: time 3e-07/0.6931, allocations: 1.531 kB / 0.7207 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of Templates: time 0.004507/0.6977, allocations: 0.6167 MB / 0.7213 GB, free: 5.219 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 -s cvode -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