Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009464/0.0009466, allocations: 98.88 kB / 16.02 MB, free: 76 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.001593/0.001592, allocations: 183.7 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05723/0.05723, allocations: 10.74 MB / 282.1 MB, free: 10.46 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.0006018/0.0006012, allocations: 19.91 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1346, allocations: 50 MB / 392.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.003437/0.1381, allocations: 2.053 MB / 394.9 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1408, allocations: 1.431 MB / 396.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.141, allocations: 11.88 kB / 396.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.1419, allocations: 195.4 kB / 396.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.1423, allocations: 143.5 kB / 396.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1434, allocations: 355.4 kB / 397.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006673/0.1441, allocations: 0.5662 MB / 397.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.1443, allocations: 77.05 kB / 397.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1446, allocations: 191.1 kB / 397.9 MB, free: 400 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.145, allocations: 227 kB / 398.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.145, allocations: 16 kB / 398.1 MB, free: 156 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.1453, allocations: 131.8 kB / 398.3 MB, free: 24 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1455, allocations: 127.5 kB / 398.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.1457, allocations: 216.3 kB / 398.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1463, allocations: 399.4 kB / 399 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1463, allocations: 0 / 399 MB, free: 15.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1463, allocations: 0 / 399 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1463, allocations: 0 / 399 MB, free: 15.29 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001511/0.1479, allocations: 0.8025 MB / 399.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1479, allocations: 8.031 kB / 399.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.148, allocations: 60.19 kB / 399.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.1486, allocations: 446.3 kB / 400.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.1487, allocations: 21.03 kB / 400.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.1488, allocations: 44.11 kB / 400.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.1496, allocations: 432.3 kB / 400.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1496, allocations: 7.906 kB / 400.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1497, allocations: 23.98 kB / 400.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1497, allocations: 11.94 kB / 400.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/0.1503, allocations: 310.4 kB / 401.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.1527, allocations: 1.567 MB / 402.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.1532, allocations: 243 kB / 402.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.1535, allocations: 149 kB / 403.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.1536, allocations: 12.22 kB / 403.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.154, allocations: 247.1 kB / 403.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.856e-06/0.1541, allocations: 0 / 403.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001252/0.1553, allocations: 0.5482 MB / 403.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.1554, allocations: 118.7 kB / 404 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.1562, allocations: 0.5213 MB / 404.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.1562, allocations: 33.7 kB / 404.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1564, allocations: 272 kB / 404.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.1565, allocations: 110.4 kB / 404.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.1566, allocations: 61.69 kB / 405 MB, free: 9.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1568, allocations: 362.8 kB / 405.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.1571, allocations: 148.9 kB / 405.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.1575, allocations: 290.2 kB / 405.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.1595, allocations: 0.9061 MB / 406.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1595, allocations: 0 / 406.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009911/0.1605, allocations: 0.6165 MB / 407.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.1606, allocations: 41.69 kB / 407.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1606, allocations: 4 kB / 407.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1607, allocations: 8.469 kB / 407.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.1611, allocations: 115.8 kB / 407.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.1611, allocations: 11.94 kB / 407.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.1614, allocations: 59.42 kB / 407.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.1615, allocations: 20 kB / 407.5 MB, free: 6.273 MB / 302.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0004098/0.1619, allocations: 261.2 kB / 407.8 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.162, allocations: 51.34 kB / 407.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/0.1629, allocations: 0.4964 MB / 408.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.163, allocations: 4 kB / 408.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.163, allocations: 3.938 kB / 408.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.163, allocations: 0 / 408.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.1635, allocations: 453 kB / 408.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1635, allocations: 0 / 408.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.1639, allocations: 67.89 kB / 408.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1639, allocations: 8 kB / 408.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.164, allocations: 15.94 kB / 408.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.164, allocations: 4 kB / 408.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.164, allocations: 3.984 kB / 408.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1651, allocations: 0.6711 MB / 409.6 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1652, allocations: 132.3 kB / 409.7 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.1653, allocations: 23.92 kB / 409.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.1655, allocations: 19.98 kB / 409.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.1656, allocations: 23.97 kB / 409.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.1656, allocations: 8 kB / 409.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004149/0.166, allocations: 370.8 kB / 410.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.166, allocations: 0 / 410.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.1665, allocations: 115.9 kB / 410.2 MB, free: 3.445 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.00113/0.1677, allocations: 461.6 kB / 410.7 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009493/0.1686, allocations: 491.8 kB / 411.2 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1686, allocations: 0 / 411.2 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.169, allocations: 255.7 kB / 411.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.1695, allocations: 89.64 kB / 411.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1712, allocations: 1.232 MB / 412.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.1717, allocations: 0.8703 MB / 413.6 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1718, allocations: 43.44 kB / 413.7 MB, free: 56 kB / 302.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1719, allocations: 0 / 413.7 MB, free: 56 kB / 302.1 MB Notification: Performance of Templates: time 0.01148/0.1833, allocations: 6.556 MB / 420.2 MB, free: 9.484 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_trackingCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_trackingCalcHelperMain.o] Error 1