Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.TestMaxAbs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.007546/0.007546, allocations: 1.435 MB / 17.7 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1085/0.1085, allocations: 22.38 MB / 41.12 MB, free: 7.574 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.001149/0.001149, allocations: 116 kB / 48.61 MB, free: 52 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.00135/0.001349, allocations: 198.3 kB / 56.21 MB, free: 9.438 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.333/1.333, allocations: 222.9 MB / 286.6 MB, free: 14.02 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.846/0.846, allocations: 127.8 MB / 471.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 123.8 kB / 0.5547 GB, free: 16.4 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1424, allocations: 82.35 MB / 0.6351 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001973/0.1444, allocations: 1.024 MB / 0.6361 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.146, allocations: 1.398 MB / 0.6375 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.146, allocations: 0 / 0.6375 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.1461, allocations: 0 / 0.6375 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.1464, allocations: 99.62 kB / 0.6376 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.1465, allocations: 0 / 0.6376 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.1465, allocations: 8 kB / 0.6376 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.1465, allocations: 0 / 0.6376 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.363e-05/0.1466, allocations: 4 kB / 0.6376 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.1466, allocations: 7.938 kB / 0.6376 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-06/0.1466, allocations: 0 / 0.6376 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.147, allocations: 199.6 kB / 0.6378 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.147, allocations: 4 kB / 0.6378 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.147, allocations: 3.984 kB / 0.6378 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1472, allocations: 91.8 kB / 0.6379 GB, free: 11.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1472, allocations: 4 kB / 0.6379 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1472, allocations: 4 kB / 0.6379 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1472, allocations: 0 / 0.6379 GB, free: 11.2 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002656/0.1475, allocations: 331.5 kB / 0.6382 GB, free: 10.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1475, allocations: 8.031 kB / 0.6382 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.1475, allocations: 4.938 kB / 0.6382 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.1476, allocations: 168.3 kB / 0.6384 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1476, allocations: 8.359 kB / 0.6384 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.1477, allocations: 384 / 0.6384 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.1478, allocations: 46 kB / 0.6385 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-06/0.1478, allocations: 7.938 kB / 0.6385 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1478, allocations: 0 / 0.6385 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1478, allocations: 0 / 0.6385 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.1478, allocations: 11.98 kB / 0.6385 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.148, allocations: 153.7 kB / 0.6386 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.1481, allocations: 38.52 kB / 0.6387 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.1481, allocations: 16.95 kB / 0.6387 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.1485, allocations: 344.4 kB / 0.639 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1485, allocations: 38.5 kB / 0.639 GB, free: 9.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1485, allocations: 0 / 0.639 GB, free: 9.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001299/0.1486, allocations: 53.69 kB / 0.6391 GB, free: 9.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1487, allocations: 55.41 kB / 0.6391 GB, free: 9.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.813e-05/0.1487, allocations: 93.8 kB / 0.6392 GB, free: 9.586 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1487, allocations: 29.64 kB / 0.6393 GB, free: 9.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.1488, allocations: 84.14 kB / 0.6393 GB, free: 9.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1488, allocations: 11.8 kB / 0.6394 GB, free: 9.453 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1488, allocations: 17.72 kB / 0.6394 GB, free: 9.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1489, allocations: 314.8 kB / 0.6397 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.149, allocations: 4 kB / 0.6397 GB, free: 9.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.149, allocations: 7.984 kB / 0.6397 GB, free: 9.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.149, allocations: 24.86 kB / 0.6397 GB, free: 9.074 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.149, allocations: 0 / 0.6397 GB, free: 9.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.722e-05/0.1491, allocations: 49.69 kB / 0.6398 GB, free: 9.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1491, allocations: 11.94 kB / 0.6398 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.1491, allocations: 0 / 0.6398 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1491, allocations: 0 / 0.6398 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.177e-05/0.1492, allocations: 11.94 kB / 0.6398 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1492, allocations: 4 kB / 0.6398 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.162e-05/0.1492, allocations: 0 / 0.6398 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1492, allocations: 4 kB / 0.6398 GB, free: 8.988 MB / 478.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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.139e-05/0.1493, allocations: 105.8 kB / 0.6399 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1493, allocations: 15.92 kB / 0.6399 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1494, allocations: 57.5 kB / 0.64 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1494, allocations: 0 / 0.64 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1494, allocations: 4 kB / 0.64 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1495, allocations: 0 / 0.64 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.1496, allocations: 153.7 kB / 0.6401 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1496, allocations: 0 / 0.6401 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.1496, allocations: 7.938 kB / 0.6401 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1496, allocations: 3.938 kB / 0.6401 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1496, allocations: 4 kB / 0.6401 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1496, allocations: 4 kB / 0.6401 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1496, allocations: 3.938 kB / 0.6401 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.1497, allocations: 77.03 kB / 0.6402 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.1498, allocations: 85.03 kB / 0.6403 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1498, allocations: 3.938 kB / 0.6403 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.1498, allocations: 4 kB / 0.6403 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.1498, allocations: 0 / 0.6403 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1498, allocations: 4 kB / 0.6403 GB, free: 8.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.311e-05/0.1498, allocations: 83.22 kB / 0.6404 GB, free: 8.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 0 / 0.6404 GB, free: 8.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000202/0.1501, allocations: 16 kB / 0.6404 GB, free: 8.266 MB / 478.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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.0001478/0.1502, allocations: 119.2 kB / 0.6405 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.1503, allocations: 23.98 kB / 0.6405 GB, free: 8.117 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1503, allocations: 0 / 0.6405 GB, free: 8.117 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.1503, allocations: 8 kB / 0.6405 GB, free: 8.109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1505, allocations: 11.98 kB / 0.6405 GB, free: 8.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.1507, allocations: 93.02 kB / 0.6406 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1509, allocations: 0.6768 MB / 0.6413 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.151, allocations: 4 kB / 0.6413 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.151, allocations: 7.438 kB / 0.6413 GB, free: 7.266 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.151, allocations: 0 / 0.6413 GB, free: 7.266 MB / 478.1 MB Notification: Performance of Templates: time 0.002366/0.1534, allocations: 0.5999 MB / 0.6419 GB, free: 6.668 MB / 478.1 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1)