Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 89.31 kB / 17.63 MB, free: 5.719 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.001601/0.001601, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 242.5 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003727/0.1522, allocations: 2.836 MB / 475 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1555, allocations: 1.47 MB / 476.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.156, allocations: 15.94 kB / 476.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.1565, allocations: 107.2 kB / 476.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.157, allocations: 155 kB / 476.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1584, allocations: 418.8 kB / 477.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.1595, allocations: 0.8147 MB / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.1599, allocations: 189 kB / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.1604, allocations: 298.6 kB / 478.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.1611, allocations: 330.3 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.1612, allocations: 24 kB / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1615, allocations: 119.8 kB / 478.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.1617, allocations: 151.3 kB / 479.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1619, allocations: 137.3 kB / 479.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.1625, allocations: 0.6314 MB / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1625, allocations: 0 / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1626, allocations: 0 / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1626, allocations: 0 / 479.8 MB, free: 6.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002356/0.1649, allocations: 1.073 MB / 480.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.165, allocations: 12.03 kB / 480.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.1652, allocations: 86.97 kB / 481 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.1662, allocations: 0.5265 MB / 481.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.1662, allocations: 37 kB / 481.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1663, allocations: 63.95 kB / 481.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1676, allocations: 0.6213 MB / 482.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.1676, allocations: 0 / 482.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.1677, allocations: 24 kB / 482.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1677, allocations: 12 kB / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1688, allocations: 0.4944 MB / 482.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.1734, allocations: 2.675 MB / 485.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1745, allocations: 0.5382 MB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.1751, allocations: 290.8 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.1752, allocations: 8.234 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.1753, allocations: 38.8 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.984e-06/0.1753, allocations: 0 / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002559/0.1778, allocations: 1.216 MB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.1779, allocations: 136.5 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/0.1788, allocations: 0.6489 MB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.1789, allocations: 41.7 kB / 488.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.1792, allocations: 352.8 kB / 488.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.1793, allocations: 181.4 kB / 488.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1794, allocations: 12 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1796, allocations: 330 kB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.1802, allocations: 297.1 kB / 489.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/0.181, allocations: 468.8 kB / 490 MB, free: 11.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.1819, allocations: 339.8 kB / 490.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.182, allocations: 0 / 490.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001661/0.1836, allocations: 0.8727 MB / 491.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.1838, allocations: 228 kB / 491.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1839, allocations: 4 kB / 491.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.1839, allocations: 8 kB / 491.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.1848, allocations: 203.8 kB / 491.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.1848, allocations: 11.94 kB / 491.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.1853, allocations: 95.62 kB / 491.7 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.1853, allocations: 20 kB / 491.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-06/0.1854, allocations: 4 kB / 491.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.1868, allocations: 0.7377 MB / 492.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1868, allocations: 12.03 kB / 492.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1868, allocations: 11.95 kB / 492.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.1876, allocations: 203.7 kB / 492.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1876, allocations: 8 kB / 492.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.1881, allocations: 83.64 kB / 492.8 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.1881, allocations: 24 kB / 492.8 MB, free: 8.559 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * 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.0003954/0.1885, allocations: 288.9 kB / 493.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.1887, allocations: 79.06 kB / 493.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1889, allocations: 94.83 kB / 493.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1889, allocations: 15.95 kB / 493.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1889, allocations: 0 / 493.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1889, allocations: 0 / 493.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.1912, allocations: 1.279 MB / 494.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.1912, allocations: 7.953 kB / 494.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.1918, allocations: 119.8 kB / 494.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1918, allocations: 8.062 kB / 494.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.1919, allocations: 15.98 kB / 494.7 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1919, allocations: 4 kB / 494.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1919, allocations: 0 / 494.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.1941, allocations: 1.227 MB / 495.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.1944, allocations: 204.1 kB / 496.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.1945, allocations: 12 kB / 496.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.195, allocations: 67.94 kB / 496.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1951, allocations: 40.02 kB / 496.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.1952, allocations: 15.98 kB / 496.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006455/0.1958, allocations: 455 kB / 496.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1958, allocations: 0 / 496.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009176/0.1967, allocations: 224 kB / 496.9 MB, free: 4.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003231/0.1971, allocations: 141.7 kB / 497.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.1993, allocations: 1.059 MB / 498.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1993, allocations: 192 / 498.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.2, allocations: 323.9 kB / 498.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2011, allocations: 173.2 kB / 498.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.204, allocations: 1.775 MB / 0.4887 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.2047, allocations: 0.9504 MB / 0.4896 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.2049, allocations: 51.42 kB / 0.4896 GB, free: 15.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2049, allocations: 4 kB / 0.4896 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01675/0.2217, allocations: 9.003 MB / 0.4984 GB, free: 6.801 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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 OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.o] Error 1