Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(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_3.2.3_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_3.2.3_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.000934/0.0009339, allocations: 93.62 kB / 16.67 MB, free: 5.855 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.001122/0.001122, allocations: 173.3 kB / 17.57 MB, free: 5.543 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.885/1.885, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2753/0.2753, allocations: 43.58 MB / 315.6 MB, free: 436 kB / 254.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.0006595/0.0006596, allocations: 20.31 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1707, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004205/0.1749, allocations: 3.023 MB / 447.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.1787, allocations: 1.546 MB / 448.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.1798, allocations: 23.88 kB / 448.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.1806, allocations: 107.2 kB / 448.8 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1817, allocations: 163 kB / 449 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1835, allocations: 490.4 kB / 449.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.1856, allocations: 0.9002 MB / 450.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.1863, allocations: 214.4 kB / 450.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.1869, allocations: 310.4 kB / 450.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.1875, allocations: 358.1 kB / 451.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.1876, allocations: 24 kB / 451.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.1879, allocations: 123.8 kB / 451.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.1882, allocations: 159.3 kB / 451.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.1885, allocations: 319.5 kB / 451.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007213/0.1892, allocations: 0.6274 MB / 452.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1892, allocations: 4 kB / 452.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1893, allocations: 4 kB / 452.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1893, allocations: 0 / 452.4 MB, free: 12.77 MB / 334.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.002415/0.1917, allocations: 1.059 MB / 453.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1918, allocations: 12.03 kB / 453.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1919, allocations: 87.91 kB / 453.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009434/0.1929, allocations: 0.5701 MB / 454.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.1929, allocations: 37.38 kB / 454.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.193, allocations: 56.22 kB / 454.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1942, allocations: 0.6489 MB / 454.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1943, allocations: 0 / 454.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.1943, allocations: 16 kB / 454.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1944, allocations: 12 kB / 454.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1955, allocations: 0.4978 MB / 455.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.1994, allocations: 2.675 MB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.2005, allocations: 0.5372 MB / 458.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.2012, allocations: 282.9 kB / 458.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.2012, allocations: 4.234 kB / 458.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.2013, allocations: 51 kB / 459 MB, free: 5.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 3.697e-06/0.2013, allocations: 0 / 459 MB, free: 5.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.00275/0.204, allocations: 1.219 MB / 460.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.2042, allocations: 136.5 kB / 460.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009656/0.2051, allocations: 0.6568 MB / 461 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.2052, allocations: 41.64 kB / 461 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.2055, allocations: 360.7 kB / 461.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.2057, allocations: 177.5 kB / 461.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.2058, allocations: 69.67 kB / 461.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.206, allocations: 333.9 kB / 461.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.2066, allocations: 301.1 kB / 462.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/0.2075, allocations: 460.4 kB / 462.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.209, allocations: 0.7583 MB / 463.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.209, allocations: 0 / 463.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002028/0.2111, allocations: 0.8705 MB / 464.3 MB, free: 400 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.2113, allocations: 221.7 kB / 464.5 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.2113, allocations: 8 kB / 464.5 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.2113, allocations: 11.97 kB / 464.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.2123, allocations: 215.7 kB / 464.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.2124, allocations: 11.94 kB / 464.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.213, allocations: 91.47 kB / 464.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.213, allocations: 32 kB / 464.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.213, allocations: 4 kB / 464.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.2145, allocations: 0.7339 MB / 465.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2145, allocations: 4 kB / 465.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.2146, allocations: 12.03 kB / 465.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.2154, allocations: 195.8 kB / 465.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2154, allocations: 11.94 kB / 465.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.2159, allocations: 91.56 kB / 465.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.216, allocations: 24 kB / 466 MB, free: 14.68 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000403/0.2164, allocations: 300.8 kB / 466.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.2166, allocations: 79.06 kB / 466.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.2168, allocations: 86.98 kB / 466.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.2168, allocations: 8 kB / 466.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.2168, allocations: 0 / 466.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.2168, allocations: 3.984 kB / 466.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.2189, allocations: 1.3 MB / 467.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2189, allocations: 3.938 kB / 467.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.2196, allocations: 115.9 kB / 467.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.2196, allocations: 4.062 kB / 467.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.2197, allocations: 23.92 kB / 467.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.2197, allocations: 11.94 kB / 467.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2197, allocations: 4 kB / 467.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.2222, allocations: 1.223 MB / 469.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.2226, allocations: 200.1 kB / 469.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2227, allocations: 16 kB / 469.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.2233, allocations: 67.81 kB / 469.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.2235, allocations: 43.94 kB / 469.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.2235, allocations: 8 kB / 469.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000843/0.2243, allocations: 467 kB / 469.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2244, allocations: 0 / 469.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001162/0.2255, allocations: 228 kB / 470.1 MB, free: 10.4 MB / 350.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 (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.0004684/0.226, allocations: 139.6 kB / 470.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002751/0.2288, allocations: 1.057 MB / 471.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2288, allocations: 0 / 471.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007985/0.2296, allocations: 316 kB / 471.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.231, allocations: 176.1 kB / 471.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.2342, allocations: 1.865 MB / 473.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.2349, allocations: 0.9504 MB / 474.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.2352, allocations: 51.38 kB / 474.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2352, allocations: 0 / 474.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.0187/0.2539, allocations: 9.046 MB / 483.7 MB, free: 12.77 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.o] Error 1