Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.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) 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(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009686, allocations: 88.25 kB / 17.95 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 174.5 kB / 18.86 MB, free: 4.645 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.795/1.795, allocations: 205.4 MB / 225 MB, free: 13.06 MB / 190.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.0004797/0.0004797, allocations: 12 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004662/0.1391, allocations: 2.771 MB / 332.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.1426, allocations: 0.9826 MB / 333.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.1435, allocations: 15.94 kB / 333.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.144, allocations: 63.5 kB / 333.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.1444, allocations: 91.31 kB / 333.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.1453, allocations: 203.7 kB / 333.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006903/0.146, allocations: 494.9 kB / 334.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.1464, allocations: 157.1 kB / 334.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1467, allocations: 163.2 kB / 334.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.147, allocations: 182.9 kB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.1471, allocations: 16 kB / 334.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.1471, allocations: 12 kB / 334.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1473, allocations: 75.62 kB / 334.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.1475, allocations: 212.5 kB / 335 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.148, allocations: 351.4 kB / 335.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.148, allocations: 0 / 335.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.148, allocations: 3.938 kB / 335.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.148, allocations: 4 kB / 335.4 MB, free: 13.96 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001456/0.1495, allocations: 0.7017 MB / 336.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.795e-05/0.1495, allocations: 12.03 kB / 336.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1497, allocations: 52.38 kB / 336.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.1502, allocations: 363.6 kB / 336.5 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.1503, allocations: 29.38 kB / 336.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.1504, allocations: 44.28 kB / 336.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1514, allocations: 474.7 kB / 337 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1514, allocations: 4 kB / 337 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.1515, allocations: 19.94 kB / 337 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1515, allocations: 8 kB / 337.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.1527, allocations: 423.6 kB / 337.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.1553, allocations: 1.59 MB / 339.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.1562, allocations: 338.5 kB / 339.4 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.1567, allocations: 184.8 kB / 339.6 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1568, allocations: 11.94 kB / 339.6 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1568, allocations: 34.56 kB / 339.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.482e-06/0.1568, allocations: 0 / 339.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.003713/0.1605, allocations: 1.525 MB / 341.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.1606, allocations: 81.11 kB / 341.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.1611, allocations: 369.6 kB / 341.6 MB, free: 7.398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1611, allocations: 29.7 kB / 341.6 MB, free: 7.363 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1613, allocations: 239.9 kB / 341.8 MB, free: 7.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1615, allocations: 122.4 kB / 342 MB, free: 7.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.1615, allocations: 37.7 kB / 342 MB, free: 6.961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1617, allocations: 354.8 kB / 342.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.1622, allocations: 188.8 kB / 342.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.1628, allocations: 268.8 kB / 342.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/0.1638, allocations: 439.4 kB / 343.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1638, allocations: 0 / 343.2 MB, free: 5.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001273/0.1651, allocations: 0.5325 MB / 343.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1652, allocations: 148 kB / 343.9 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1652, allocations: 0 / 343.9 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1653, allocations: 12 kB / 343.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.1663, allocations: 259.7 kB / 344.2 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.1684, allocations: 1.54 MB / 345.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.1689, allocations: 52.05 kB / 345.8 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.1689, allocations: 16 kB / 345.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.169, allocations: 4 kB / 345.8 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/0.1701, allocations: 451.6 kB / 346.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1701, allocations: 0 / 346.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1701, allocations: 8 kB / 346.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.1709, allocations: 128 kB / 346.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.1709, allocations: 7.984 kB / 346.4 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.1713, allocations: 47.91 kB / 346.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.1714, allocations: 12 kB / 346.4 MB, free: 2.305 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003794/0.1717, allocations: 248.9 kB / 346.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1719, allocations: 39.53 kB / 346.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.172, allocations: 44.25 kB / 346.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.172, allocations: 4 kB / 346.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.172, allocations: 0 / 346.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.172, allocations: 0 / 346.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.1746, allocations: 0.9728 MB / 347.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1746, allocations: 0 / 347.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.1752, allocations: 92 kB / 347.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.1753, allocations: 12 kB / 347.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.1753, allocations: 11.94 kB / 347.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1753, allocations: 0 / 347.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.1753, allocations: 7.984 kB / 347.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.1775, allocations: 0.7405 MB / 348.6 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.1777, allocations: 132.7 kB / 348.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.1778, allocations: 15.94 kB / 348.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.1782, allocations: 43.95 kB / 348.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.1784, allocations: 27.97 kB / 348.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1784, allocations: 4 kB / 348.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004344/0.1789, allocations: 259.1 kB / 349 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1789, allocations: 0 / 349 MB, free: 15.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007515/0.1797, allocations: 136 kB / 349.2 MB, free: 15.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0002057/0.1799, allocations: 103.1 kB / 349.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.1827, allocations: 0.8046 MB / 350.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.1828, allocations: 4 kB / 350.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.1835, allocations: 200.1 kB / 350.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.1845, allocations: 97.42 kB / 350.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.1874, allocations: 1.3 MB / 351.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.188, allocations: 0.8198 MB / 352.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.1882, allocations: 31.44 kB / 352.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1882, allocations: 0 / 352.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Templates: time 0.01249/0.2007, allocations: 5.94 MB / 358.5 MB, free: 6.043 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.o] Error 1