Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008421/0.0008422, allocations: 89.59 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 15.92 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1542, allocations: 63.46 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004878/0.1591, allocations: 2.828 MB / 484.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.163, allocations: 1.513 MB / 486.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007729/0.1638, allocations: 23.88 kB / 486.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.1645, allocations: 103.2 kB / 486.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009282/0.1655, allocations: 147 kB / 486.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1669, allocations: 434.8 kB / 487.2 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.1681, allocations: 0.7796 MB / 487.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.1685, allocations: 181.2 kB / 488.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.169, allocations: 290.6 kB / 488.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.1695, allocations: 322.3 kB / 488.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.1696, allocations: 24 kB / 488.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.1697, allocations: 24 kB / 488.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1698, allocations: 159.3 kB / 488.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.17, allocations: 129.3 kB / 489 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.1705, allocations: 0.5378 MB / 489.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1705, allocations: 3.938 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1705, allocations: 0 / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1705, allocations: 0 / 489.6 MB, free: 13.89 MB / 366.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.002193/0.1727, allocations: 1.059 MB / 490.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1728, allocations: 8.031 kB / 490.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.1731, allocations: 98.95 kB / 490.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/0.174, allocations: 0.5421 MB / 491.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.1741, allocations: 37 kB / 491.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.1742, allocations: 52 kB / 491.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1753, allocations: 0.6377 MB / 492 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1753, allocations: 0 / 492 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.1754, allocations: 24 kB / 492 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.1754, allocations: 12 kB / 492 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1765, allocations: 0.49 MB / 492.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.1804, allocations: 2.682 MB / 495.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.1817, allocations: 0.5779 MB / 495.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.1823, allocations: 266.4 kB / 496.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.1824, allocations: 16 kB / 496.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.1824, allocations: 34.56 kB / 496.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/0.1825, allocations: 0 / 496.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002774/0.1852, allocations: 1.217 MB / 497.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1854, allocations: 162.2 kB / 497.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.1864, allocations: 0.6451 MB / 498.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.1864, allocations: 33.7 kB / 498.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.1868, allocations: 372 kB / 498.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.187, allocations: 169.5 kB / 498.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.187, allocations: 15.94 kB / 498.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1873, allocations: 326 kB / 499 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.1879, allocations: 289.1 kB / 499.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.1887, allocations: 458.1 kB / 499.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.1894, allocations: 326 kB / 0.4883 GB, free: 2.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1894, allocations: 4 kB / 0.4884 GB, free: 2.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001663/0.1911, allocations: 0.8302 MB / 0.4892 GB, free: 2.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.1913, allocations: 225.8 kB / 0.4894 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.1913, allocations: 4 kB / 0.4894 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.1914, allocations: 11.95 kB / 0.4894 GB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.192, allocations: 163.8 kB / 0.4896 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.1921, allocations: 7.938 kB / 0.4896 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.1925, allocations: 91.62 kB / 0.4896 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.1926, allocations: 28 kB / 0.4897 GB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.1926, allocations: 4 kB / 0.4897 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/0.194, allocations: 0.7176 MB / 0.4904 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.194, allocations: 8.062 kB / 0.4904 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.194, allocations: 8 kB / 0.4904 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.1946, allocations: 147.8 kB / 0.4905 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1946, allocations: 15.92 kB / 0.4905 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.1951, allocations: 91.55 kB / 0.4906 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.1951, allocations: 20 kB / 0.4907 GB, free: 0.5273 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003682/0.1955, allocations: 293.6 kB / 0.4909 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.1957, allocations: 75.06 kB / 0.491 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.1959, allocations: 90.22 kB / 0.4911 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1959, allocations: 8 kB / 0.4911 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1959, allocations: 0 / 0.4911 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1959, allocations: 3.984 kB / 0.4911 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1973, allocations: 0.8609 MB / 0.4919 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1973, allocations: 4 kB / 0.4919 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.1979, allocations: 119.9 kB / 0.4921 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1979, allocations: 0 / 0.4921 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.198, allocations: 16 kB / 0.4921 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.198, allocations: 4 kB / 0.4921 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.198, allocations: 0 / 0.4921 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.2001, allocations: 1.215 MB / 0.4933 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.2003, allocations: 196.2 kB / 0.4935 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.2004, allocations: 11.94 kB / 0.4935 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.2009, allocations: 67.94 kB / 0.4935 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.2011, allocations: 35.94 kB / 0.4936 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.2011, allocations: 12 kB / 0.4936 GB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.2018, allocations: 459 kB / 0.494 GB, free: 12.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2018, allocations: 0 / 0.494 GB, free: 12.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000811/0.2026, allocations: 192 kB / 0.4942 GB, free: 12.79 MB / 382.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 (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.0001675/0.2028, allocations: 123.1 kB / 0.4943 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.2051, allocations: 1.009 MB / 0.4953 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2051, allocations: 0 / 0.4953 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.2057, allocations: 307.6 kB / 0.4956 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2068, allocations: 173.5 kB / 0.4958 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.2096, allocations: 1.754 MB / 0.4975 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.2102, allocations: 0.9497 MB / 0.4984 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2104, allocations: 51.44 kB / 0.4984 GB, free: 8.363 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.2104, allocations: 0 / 0.4984 GB, free: 8.363 MB / 382.1 MB Notification: Performance of Templates: time 0.2933/0.5037, allocations: 8.622 MB / 0.5069 GB, free: 40.07 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_trunk_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.o] Error 1