Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001005, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 173.8 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.8 MB, free: 5.41 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05477/0.05477, allocations: 10.75 MB / 281.8 MB, free: 10.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005551, allocations: 16 kB / 342.3 MB, free: 23.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1406, allocations: 50.02 MB / 392.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003992/0.1446, allocations: 1.949 MB / 394.2 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1475, allocations: 1.338 MB / 395.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.1477, allocations: 15.88 kB / 395.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008426/0.1486, allocations: 179.4 kB / 395.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1489, allocations: 131.5 kB / 395.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.1499, allocations: 319.4 kB / 396.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005881/0.1505, allocations: 0.4912 MB / 396.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1507, allocations: 65.23 kB / 396.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.1511, allocations: 195.2 kB / 396.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.1514, allocations: 207.1 kB / 397.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.1514, allocations: 12 kB / 397.2 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.1517, allocations: 123.8 kB / 397.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.1519, allocations: 107.6 kB / 397.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.152, allocations: 93.45 kB / 397.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.1524, allocations: 363.4 kB / 397.8 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1524, allocations: 4 kB / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1525, allocations: 0 / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1525, allocations: 0 / 397.8 MB, free: 148 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001648/0.1541, allocations: 0.7794 MB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1542, allocations: 8.031 kB / 398.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1543, allocations: 59.34 kB / 398.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.1549, allocations: 393.4 kB / 399.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/0.155, allocations: 79.95 kB / 399.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.1551, allocations: 28 kB / 399.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.1558, allocations: 399.6 kB / 399.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.1559, allocations: 3.906 kB / 399.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.1559, allocations: 19.89 kB / 399.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.156, allocations: 8 kB / 399.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.1565, allocations: 274 kB / 399.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.1588, allocations: 1.469 MB / 401.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.1594, allocations: 198.9 kB / 401.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.1596, allocations: 129.1 kB / 401.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.1597, allocations: 4.188 kB / 401.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.1601, allocations: 222.8 kB / 401.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.1601, allocations: 0 / 401.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009639/0.1611, allocations: 498 kB / 402.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.1612, allocations: 110.8 kB / 402.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.1618, allocations: 485.8 kB / 402.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.1619, allocations: 29.7 kB / 403 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.1621, allocations: 256.1 kB / 403.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.1622, allocations: 90.72 kB / 403.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.1623, allocations: 8 kB / 403.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0004194/0.1627, allocations: 370.7 kB / 403.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1629, allocations: 116.7 kB / 403.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.1633, allocations: 232.9 kB / 404 MB, free: 9.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1637, allocations: 181.4 kB / 404.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1637, allocations: 0 / 404.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009589/0.1647, allocations: 0.5138 MB / 404.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.1647, allocations: 37.7 kB / 404.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1648, allocations: 4 kB / 404.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1648, allocations: 4 kB / 404.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.1653, allocations: 92.25 kB / 404.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.1653, allocations: 15.94 kB / 404.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1655, allocations: 43.67 kB / 404.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.1656, allocations: 20 kB / 404.9 MB, free: 8.672 MB / 302.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004184/0.166, allocations: 248.4 kB / 405.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1661, allocations: 47.44 kB / 405.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009491/0.1671, allocations: 443.8 kB / 405.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.1671, allocations: 4 kB / 405.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1671, allocations: 4 kB / 405.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.1671, allocations: 3.984 kB / 405.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.1677, allocations: 429.2 kB / 406.1 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1677, allocations: 0 / 406.1 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.1682, allocations: 59.95 kB / 406.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1683, allocations: 4 kB / 406.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.1683, allocations: 11.98 kB / 406.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1683, allocations: 3.938 kB / 406.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1683, allocations: 0 / 406.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1694, allocations: 0.6039 MB / 406.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.1696, allocations: 128.5 kB / 406.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.1696, allocations: 8 kB / 406.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1698, allocations: 23.98 kB / 406.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.1699, allocations: 15.97 kB / 406.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.1699, allocations: 15.98 kB / 406.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.1704, allocations: 331.1 kB / 407.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1704, allocations: 0 / 407.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.1709, allocations: 111.8 kB / 407.4 MB, free: 6.094 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.1721, allocations: 462.7 kB / 407.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007494/0.1728, allocations: 422.9 kB / 408.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1728, allocations: 0 / 408.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.1732, allocations: 232.1 kB / 408.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.1736, allocations: 74.64 kB / 408.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1752, allocations: 1.006 MB / 409.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.1759, allocations: 0.8499 MB / 410.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.176, allocations: 39.42 kB / 410.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.176, allocations: 0 / 410.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of Templates: time 0.01113/0.1871, allocations: 5.945 MB / 416.4 MB, free: 13.09 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_trackingCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_trackingCalcHelperMain.o] Error 1