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.0007313/0.0007314, allocations: 92.47 kB / 16.33 MB, free: 5.938 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.0007416/0.0007416, allocations: 184 kB / 17.22 MB, free: 5.863 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.278/1.278, allocations: 205.4 MB / 223.4 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.55 MB / 315.2 MB, free: 8.934 MB / 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.0004767/0.0004768, allocations: 12 kB / 384.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 58.87 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003066/0.108, allocations: 2.848 MB / 446.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1103, allocations: 1.513 MB / 447.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1106, allocations: 23.88 kB / 447.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.111, allocations: 111.2 kB / 447.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.1114, allocations: 155 kB / 448.1 MB, free: 8.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008616/0.1122, allocations: 419.3 kB / 448.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.113, allocations: 0.7988 MB / 449.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1133, allocations: 173.2 kB / 449.4 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.1136, allocations: 298.6 kB / 449.7 MB, free: 6.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.114, allocations: 322.4 kB / 450 MB, free: 6.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.114, allocations: 20 kB / 450.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.1141, allocations: 24 kB / 450.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1143, allocations: 155.3 kB / 450.2 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.1144, allocations: 133.3 kB / 450.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1148, allocations: 0.5378 MB / 450.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1148, allocations: 0 / 450.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1148, allocations: 0 / 450.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1148, allocations: 0 / 450.9 MB, free: 5.504 MB / 382.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.001818/0.1167, allocations: 1.063 MB / 452 MB, free: 4.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1167, allocations: 8.031 kB / 452 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.1168, allocations: 98.83 kB / 452.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/0.1176, allocations: 0.5304 MB / 452.6 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.1176, allocations: 37 kB / 452.6 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.1177, allocations: 63.97 kB / 452.7 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.1187, allocations: 0.6212 MB / 453.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1188, allocations: 3.984 kB / 453.3 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.1188, allocations: 24 kB / 453.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1188, allocations: 16 kB / 453.4 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.1198, allocations: 0.4977 MB / 453.9 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1817/0.3015, allocations: 2.679 MB / 456.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.3025, allocations: 0.5745 MB / 457.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.303, allocations: 269.6 kB / 457.4 MB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.303, allocations: 15.11 kB / 457.4 MB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3031, allocations: 39.09 kB / 457.4 MB, free: 45.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/0.3031, allocations: 0 / 457.4 MB, free: 45.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002037/0.3051, allocations: 1.215 MB / 458.6 MB, free: 45.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3052, allocations: 134.5 kB / 458.8 MB, free: 45.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.3058, allocations: 0.6539 MB / 459.4 MB, free: 45.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3059, allocations: 34.23 kB / 459.5 MB, free: 45.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.306, allocations: 366.4 kB / 459.8 MB, free: 45.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3062, allocations: 170.7 kB / 460 MB, free: 44.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.3062, allocations: 12.16 kB / 460 MB, free: 44.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.3063, allocations: 328.3 kB / 460.3 MB, free: 44.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.3068, allocations: 286.2 kB / 460.6 MB, free: 44.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.3074, allocations: 448.7 kB / 461 MB, free: 44.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.3079, allocations: 332.3 kB / 461.4 MB, free: 44.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3079, allocations: 2.625 kB / 461.4 MB, free: 44.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001261/0.3092, allocations: 0.8292 MB / 462.2 MB, free: 44.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.3093, allocations: 225 kB / 462.4 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3093, allocations: 5.781 kB / 462.4 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3093, allocations: 13.62 kB / 462.4 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.3099, allocations: 161.7 kB / 462.6 MB, free: 44.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3099, allocations: 8.594 kB / 462.6 MB, free: 44.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.3103, allocations: 96.66 kB / 462.7 MB, free: 44.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.3104, allocations: 24.22 kB / 462.7 MB, free: 44.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-06/0.3104, allocations: 2.781 kB / 462.7 MB, free: 44.07 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001135/0.3115, allocations: 0.7161 MB / 463.4 MB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3115, allocations: 5.375 kB / 463.4 MB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.3115, allocations: 8.156 kB / 463.4 MB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.3121, allocations: 160.6 kB / 463.6 MB, free: 44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3121, allocations: 9.703 kB / 463.6 MB, free: 44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3125, allocations: 80.3 kB / 463.7 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.3125, allocations: 29.44 kB / 463.7 MB, free: 43.98 MB / 382.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.0002418/0.3128, allocations: 289.3 kB / 464 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3129, allocations: 83.11 kB / 464.1 MB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.3131, allocations: 92.8 kB / 464.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3131, allocations: 3.469 kB / 464.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.3131, allocations: 2.938 kB / 464.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3131, allocations: 3.328 kB / 464.2 MB, free: 43.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009808/0.3141, allocations: 0.8681 MB / 465.1 MB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3141, allocations: 3.594 kB / 465.1 MB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.3147, allocations: 120.6 kB / 465.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3147, allocations: 0 / 465.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.3147, allocations: 11.81 kB / 465.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3147, allocations: 3.469 kB / 465.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3147, allocations: 6.125 kB / 465.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.3163, allocations: 1.198 MB / 466.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.3165, allocations: 200.4 kB / 466.6 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.3166, allocations: 10.81 kB / 466.6 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.3171, allocations: 65.73 kB / 466.7 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/0.3172, allocations: 37.66 kB / 466.7 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.3172, allocations: 15.86 kB / 466.7 MB, free: 42.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000472/0.3177, allocations: 464.2 kB / 467.2 MB, free: 42.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3177, allocations: 0 / 467.2 MB, free: 42.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006532/0.3184, allocations: 192.7 kB / 467.4 MB, free: 42.8 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.0001073/0.3185, allocations: 106.7 kB / 467.5 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.3202, allocations: 1.013 MB / 468.5 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3202, allocations: 0 / 468.5 MB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.3207, allocations: 311.6 kB / 468.8 MB, free: 42.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000895/0.3216, allocations: 177.3 kB / 469 MB, free: 42.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3236, allocations: 1.762 MB / 470.7 MB, free: 41.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3239, allocations: 0.9589 MB / 471.7 MB, free: 40.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3241, allocations: 49.64 kB / 471.7 MB, free: 40.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3241, allocations: 1.203 kB / 471.7 MB, free: 40.71 MB / 382.1 MB Notification: Performance of Templates: time 0.009995/0.3341, allocations: 8.665 MB / 480.4 MB, free: 39.95 MB / 382.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++ 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_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