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.00738/0.00738, allocations: 1.431 MB / 17.68 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1173/0.1173, allocations: 22.37 MB / 41.11 MB, free: 0.543 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.001136/0.001136, allocations: 107.9 kB / 48.6 MB, free: 2.148 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.00128/0.00128, allocations: 190 kB / 56.2 MB, free: 6.18 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.374/1.374, allocations: 222.9 MB / 286.5 MB, free: 1.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8686/0.8686, allocations: 127.8 MB / 471.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.00222, allocations: 134.4 kB / 0.5547 GB, free: 42.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1362, allocations: 82.35 MB / 0.6351 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.002389/0.1386, allocations: 1.011 MB / 0.6361 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1405, allocations: 1.4 MB / 0.6375 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.1406, allocations: 0 / 0.6375 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.1406, allocations: 0 / 0.6375 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.1411, allocations: 95.64 kB / 0.6376 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.1411, allocations: 0 / 0.6376 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.497e-05/0.1412, allocations: 11.98 kB / 0.6376 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1412, allocations: 0 / 0.6376 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.1412, allocations: 0 / 0.6376 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.1413, allocations: 11.92 kB / 0.6376 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-06/0.1413, allocations: 0 / 0.6376 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.1417, allocations: 195.6 kB / 0.6378 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.1417, allocations: 4 kB / 0.6378 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.1417, allocations: 0 / 0.6378 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1419, allocations: 99.78 kB / 0.6379 GB, free: 9.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1419, allocations: 0 / 0.6379 GB, free: 9.105 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1419, allocations: 4 kB / 0.6379 GB, free: 9.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1419, allocations: 0 / 0.6379 GB, free: 9.102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003016/0.1422, allocations: 333.6 kB / 0.6382 GB, free: 8.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1423, allocations: 8.031 kB / 0.6382 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.1423, allocations: 4.844 kB / 0.6382 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.1424, allocations: 168.3 kB / 0.6384 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1424, allocations: 4.375 kB / 0.6384 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1425, allocations: 384 / 0.6384 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1426, allocations: 42 kB / 0.6384 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1426, allocations: 8 kB / 0.6384 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1426, allocations: 0 / 0.6384 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1426, allocations: 0 / 0.6384 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.1427, allocations: 15.98 kB / 0.6385 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1428, allocations: 149.6 kB / 0.6386 GB, free: 8.246 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.1429, allocations: 46.55 kB / 0.6386 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.143, allocations: 16.86 kB / 0.6387 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.1434, allocations: 344.5 kB / 0.639 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1434, allocations: 38.5 kB / 0.639 GB, free: 7.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1434, allocations: 0 / 0.639 GB, free: 7.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001586/0.1436, allocations: 57.67 kB / 0.6391 GB, free: 7.652 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.1436, allocations: 51.41 kB / 0.6391 GB, free: 7.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.1436, allocations: 89.86 kB / 0.6392 GB, free: 7.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1437, allocations: 37.64 kB / 0.6393 GB, free: 7.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.1437, allocations: 84.14 kB / 0.6393 GB, free: 7.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1437, allocations: 7.812 kB / 0.6393 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.1438, allocations: 21.7 kB / 0.6394 GB, free: 7.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.1439, allocations: 310.8 kB / 0.6397 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.1439, allocations: 7.938 kB / 0.6397 GB, free: 7.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.1439, allocations: 8 kB / 0.6397 GB, free: 7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.144, allocations: 24.84 kB / 0.6397 GB, free: 6.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.144, allocations: 0 / 0.6397 GB, free: 6.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.165e-05/0.1441, allocations: 49.69 kB / 0.6397 GB, free: 6.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1441, allocations: 11.94 kB / 0.6398 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1441, allocations: 4 kB / 0.6398 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1441, allocations: 0 / 0.6398 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.1442, allocations: 7.938 kB / 0.6398 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1442, allocations: 0 / 0.6398 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.1442, allocations: 0 / 0.6398 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1442, allocations: 4 kB / 0.6398 GB, free: 6.891 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 (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.768e-05/0.1443, allocations: 109.8 kB / 0.6399 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.1443, allocations: 3.938 kB / 0.6399 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1445, allocations: 65.17 kB / 0.6399 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1445, allocations: 0 / 0.6399 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1445, allocations: 0 / 0.6399 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1445, allocations: 0 / 0.6399 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.496e-05/0.1446, allocations: 157.6 kB / 0.6401 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1446, allocations: 4 kB / 0.6401 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.1446, allocations: 7.938 kB / 0.6401 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1446, allocations: 3.938 kB / 0.6401 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1447, allocations: 3.938 kB / 0.6401 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1447, allocations: 4 kB / 0.6401 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1447, allocations: 0 / 0.6401 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.702e-05/0.1448, allocations: 73.5 kB / 0.6402 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.1448, allocations: 81.02 kB / 0.6403 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1448, allocations: 11.92 kB / 0.6403 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.1448, allocations: 0 / 0.6403 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1448, allocations: 48 / 0.6403 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.1449, allocations: 7.984 kB / 0.6403 GB, free: 6.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.807e-05/0.1449, allocations: 79.28 kB / 0.6404 GB, free: 6.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1449, allocations: 0 / 0.6404 GB, free: 6.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1451, allocations: 20 kB / 0.6404 GB, free: 6.168 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 (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.000163/0.1453, allocations: 118.8 kB / 0.6405 GB, free: 6.047 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.1454, allocations: 23.98 kB / 0.6405 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1454, allocations: 0 / 0.6405 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.1454, allocations: 12 kB / 0.6405 GB, free: 6.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1456, allocations: 2.656 kB / 0.6405 GB, free: 6.012 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.1458, allocations: 101 kB / 0.6406 GB, free: 5.887 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.146, allocations: 0.6806 MB / 0.6413 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.1461, allocations: 4 kB / 0.6413 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.1461, allocations: 11.44 kB / 0.6413 GB, free: 5.164 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1461, allocations: 0 / 0.6413 GB, free: 5.164 MB / 462.1 MB Notification: Performance of Templates: time 0.002743/0.1488, allocations: 0.5867 MB / 0.6419 GB, free: 4.578 MB / 462.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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1)