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.01409/0.01409, allocations: 1.43 MB / 16.93 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1189/0.1189, allocations: 22.38 MB / 40.35 MB, free: 0.6953 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.001082/0.001082, allocations: 105.1 kB / 47.83 MB, free: 2.391 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.001407/0.001407, allocations: 196.2 kB / 55.43 MB, free: 6.43 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.307/1.307, allocations: 222.9 MB / 285.8 MB, free: 1.273 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8255/0.8255, allocations: 127.8 MB / 470.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 127.8 kB / 0.5533 GB, free: 42.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 82.36 MB / 0.6337 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestGenerateGrid): time 0.001896/0.133, allocations: 1.001 MB / 0.6347 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004474/0.1335, allocations: 212.2 kB / 0.6349 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1335, allocations: 7.938 kB / 0.6349 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.807e-05/0.1336, allocations: 0 / 0.6349 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.1336, allocations: 0 / 0.6349 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.134, allocations: 71.78 kB / 0.635 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 3.5e-05/0.134, allocations: 8 kB / 0.635 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.1341, allocations: 3.984 kB / 0.635 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.1341, allocations: 15.91 kB / 0.635 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.394e-05/0.1341, allocations: 0 / 0.635 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.625e-06/0.1341, allocations: 0 / 0.635 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1343, allocations: 83.91 kB / 0.6351 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.1343, allocations: 7.938 kB / 0.6351 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.1343, allocations: 3.938 kB / 0.6351 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1344, allocations: 47.91 kB / 0.6351 GB, free: 11.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1344, allocations: 4 kB / 0.6351 GB, free: 11.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1345, allocations: 0 / 0.6351 GB, free: 11.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1345, allocations: 0 / 0.6351 GB, free: 11.35 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.0002843/0.1348, allocations: 319.9 kB / 0.6355 GB, free: 10.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1348, allocations: 8.031 kB / 0.6355 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1348, allocations: 8.844 kB / 0.6355 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1349, allocations: 172.3 kB / 0.6356 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.135, allocations: 4.312 kB / 0.6356 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.135, allocations: 384 / 0.6356 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.353e-05/0.1351, allocations: 34.25 kB / 0.6357 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1351, allocations: 192 / 0.6357 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1351, allocations: 3.938 kB / 0.6357 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.1351, allocations: 4 kB / 0.6357 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.1351, allocations: 7.938 kB / 0.6357 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1353, allocations: 165.6 kB / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.37e-05/0.1353, allocations: 26.58 kB / 0.6359 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.1354, allocations: 16.92 kB / 0.6359 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.1354, allocations: 0 / 0.6359 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1354, allocations: 30.56 kB / 0.6359 GB, free: 10.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.1354, allocations: 0 / 0.6359 GB, free: 10.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001203/0.1355, allocations: 61.56 kB / 0.636 GB, free: 10.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1356, allocations: 55.44 kB / 0.636 GB, free: 10.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.1356, allocations: 89.86 kB / 0.6361 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1356, allocations: 25.7 kB / 0.6361 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.1357, allocations: 84.14 kB / 0.6362 GB, free: 10.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.1357, allocations: 3.906 kB / 0.6362 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1357, allocations: 21.7 kB / 0.6362 GB, free: 10.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.1358, allocations: 310.8 kB / 0.6365 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.1358, allocations: 4.125 kB / 0.6365 GB, free: 9.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.1358, allocations: 12 kB / 0.6366 GB, free: 9.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.1359, allocations: 24.84 kB / 0.6366 GB, free: 9.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1359, allocations: 0 / 0.6366 GB, free: 9.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.598e-05/0.1359, allocations: 49.53 kB / 0.6366 GB, free: 9.609 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.136, allocations: 4 kB / 0.6366 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.136, allocations: 3.938 kB / 0.6366 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.136, allocations: 0 / 0.6366 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/0.136, allocations: 4 kB / 0.6366 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.136, allocations: 0 / 0.6366 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.136, allocations: 4.062 kB / 0.6366 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.136, allocations: 0 / 0.6366 GB, free: 9.594 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.282e-05/0.1361, allocations: 111.6 kB / 0.6367 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.1361, allocations: 4 kB / 0.6367 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.1361, allocations: 7.438 kB / 0.6368 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1361, allocations: 4.125 kB / 0.6368 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1362, allocations: 0 / 0.6368 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1362, allocations: 7.984 kB / 0.6368 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.1363, allocations: 153.7 kB / 0.6369 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1363, allocations: 0 / 0.6369 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.1363, allocations: 4 kB / 0.6369 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1363, allocations: 0 / 0.6369 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1363, allocations: 3.938 kB / 0.6369 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1363, allocations: 0 / 0.6369 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1363, allocations: 3.984 kB / 0.6369 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.457e-05/0.1364, allocations: 73.06 kB / 0.637 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.1364, allocations: 77.11 kB / 0.6371 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1364, allocations: 7.922 kB / 0.6371 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-06/0.1364, allocations: 7.969 kB / 0.6371 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.1364, allocations: 0 / 0.6371 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1365, allocations: 4 kB / 0.6371 GB, free: 9.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.705e-05/0.1365, allocations: 75.28 kB / 0.6372 GB, free: 8.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1365, allocations: 0 / 0.6372 GB, free: 8.965 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.1367, allocations: 23.98 kB / 0.6372 GB, free: 8.941 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.000148/0.1368, allocations: 111.2 kB / 0.6373 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.38e-05/0.1369, allocations: 24.03 kB / 0.6373 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1369, allocations: 0 / 0.6373 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.1369, allocations: 7.984 kB / 0.6373 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1371, allocations: 0 / 0.6373 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001666/0.1372, allocations: 105 kB / 0.6374 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1374, allocations: 0.6729 MB / 0.6381 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.296e-05/0.1375, allocations: 0 / 0.6381 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.1375, allocations: 15.55 kB / 0.6381 GB, free: 7.949 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1375, allocations: 0 / 0.6381 GB, free: 7.949 MB / 462.1 MB Notification: Performance of Templates: time 0.002309/0.1398, allocations: 0.6095 MB / 0.6387 GB, free: 7.344 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