Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 94.77 kB / 16.67 MB, free: 6.254 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.002072/0.002072, allocations: 180.2 kB / 17.58 MB, free: 5.887 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.941/1.941, allocations: 205.4 MB / 223.8 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.2749/0.2749, allocations: 43.59 MB / 315.6 MB, free: 432 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.0006432/0.0006432, allocations: 17.41 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1705, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004137/0.1747, allocations: 3.007 MB / 447.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.1786, allocations: 1.54 MB / 448.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009903/0.1797, allocations: 19.88 kB / 448.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.1805, allocations: 111.2 kB / 448.8 MB, free: 480 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1817, allocations: 167 kB / 448.9 MB, free: 312 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1833, allocations: 491.1 kB / 449.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.1849, allocations: 0.8651 MB / 450.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004773/0.1854, allocations: 218.4 kB / 450.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.1859, allocations: 302.5 kB / 450.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004837/0.1864, allocations: 342.1 kB / 451.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/0.1865, allocations: 24 kB / 451.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.1866, allocations: 20 kB / 451.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.1868, allocations: 155.3 kB / 451.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.1871, allocations: 323.6 kB / 451.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.1877, allocations: 0.5377 MB / 452.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1877, allocations: 3.938 kB / 452.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1877, allocations: 0 / 452.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1877, allocations: 0 / 452.2 MB, free: 13.04 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.002347/0.1901, allocations: 1.051 MB / 453.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1901, allocations: 12.03 kB / 453.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1903, allocations: 87.91 kB / 453.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.1913, allocations: 0.5661 MB / 453.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.1913, allocations: 37.38 kB / 453.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.1914, allocations: 64.27 kB / 454 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1928, allocations: 0.6388 MB / 454.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.1928, allocations: 3.984 kB / 454.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.1929, allocations: 20 kB / 454.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1929, allocations: 15.94 kB / 454.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1941, allocations: 0.4939 MB / 455.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.198, allocations: 2.682 MB / 457.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1992, allocations: 0.5741 MB / 458.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.1998, allocations: 270.7 kB / 458.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.1998, allocations: 19.86 kB / 458.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1999, allocations: 42.56 kB / 458.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/0.1999, allocations: 0 / 458.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.00262/0.2025, allocations: 1.205 MB / 459.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.2026, allocations: 136.5 kB / 460.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/0.2035, allocations: 0.6568 MB / 460.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.2036, allocations: 37.64 kB / 460.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.2039, allocations: 368 kB / 461.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.2041, allocations: 169.5 kB / 461.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2042, allocations: 65.69 kB / 461.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2044, allocations: 333.9 kB / 461.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.205, allocations: 289.1 kB / 462 MB, free: 2.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.2059, allocations: 456.6 kB / 462.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.2073, allocations: 0.7208 MB / 463.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2073, allocations: 0 / 463.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001709/0.209, allocations: 0.8484 MB / 464 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.2092, allocations: 231.6 kB / 464.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2092, allocations: 8 kB / 464.2 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.2093, allocations: 11.94 kB / 464.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.21, allocations: 155.8 kB / 464.4 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.21, allocations: 11.98 kB / 464.4 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.2106, allocations: 95.62 kB / 464.5 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.2106, allocations: 20 kB / 464.5 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.2106, allocations: 4 kB / 464.5 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001409/0.212, allocations: 0.7178 MB / 465.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2121, allocations: 4 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2121, allocations: 8.547 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.2127, allocations: 155.8 kB / 465.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.2127, allocations: 11.94 kB / 465.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.2132, allocations: 91.53 kB / 465.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.2132, allocations: 24 kB / 465.5 MB, free: 15.13 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003915/0.2136, allocations: 292.8 kB / 465.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.2138, allocations: 82.98 kB / 465.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.214, allocations: 90.3 kB / 466 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.214, allocations: 4 kB / 466 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.214, allocations: 4 kB / 466 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.2141, allocations: 7.984 kB / 466 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.2154, allocations: 0.857 MB / 466.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2154, allocations: 4 kB / 466.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.2161, allocations: 111.9 kB / 467 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.2161, allocations: 4 kB / 467 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.2161, allocations: 15.92 kB / 467 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.2162, allocations: 7.938 kB / 467 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.2162, allocations: 4 kB / 467 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.2183, allocations: 1.207 MB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.2186, allocations: 200.1 kB / 468.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.2187, allocations: 20 kB / 468.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.2192, allocations: 59.88 kB / 468.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2193, allocations: 35.95 kB / 468.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.2194, allocations: 15.98 kB / 468.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007185/0.2201, allocations: 463 kB / 469 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2201, allocations: 0 / 469 MB, free: 11.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008143/0.2209, allocations: 192 kB / 469.2 MB, free: 11.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.0001814/0.2211, allocations: 115.2 kB / 469.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.2234, allocations: 1.024 MB / 470.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2234, allocations: 0 / 470.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.2241, allocations: 299.8 kB / 470.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2253, allocations: 172.1 kB / 470.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.2286, allocations: 1.842 MB / 472.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.2295, allocations: 0.9534 MB / 473.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.2298, allocations: 55.36 kB / 473.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2298, allocations: 0 / 473.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Templates: time 0.02076/0.2505, allocations: 8.674 MB / 482.3 MB, free: 14.21 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.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_InitialStateCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.o] Error 1