Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 101.1 kB / 16.33 MB, free: 5.945 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.0007457/0.0007457, allocations: 190.8 kB / 17.23 MB, free: 5.879 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.256/1.256, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.305/0.305, allocations: 43.55 MB / 315.2 MB, free: 8.875 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.0005182/0.0005182, allocations: 12 kB / 384.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1071, allocations: 58.87 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.002964/0.1101, allocations: 2.844 MB / 446.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.1124, allocations: 1.513 MB / 447.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.1127, allocations: 19.88 kB / 447.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.1131, allocations: 111.2 kB / 447.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.1135, allocations: 155 kB / 448 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000891/0.1144, allocations: 427.2 kB / 448.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007307/0.1151, allocations: 0.7794 MB / 449.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1154, allocations: 173.2 kB / 449.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.1158, allocations: 302.6 kB / 449.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.1162, allocations: 326.3 kB / 450 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.1163, allocations: 20 kB / 450 MB, free: 6.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.1163, allocations: 20 kB / 450.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1165, allocations: 147.4 kB / 450.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.1166, allocations: 133.3 kB / 450.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1171, allocations: 0.53 MB / 450.9 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1171, allocations: 0 / 450.9 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1171, allocations: 4 kB / 450.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1171, allocations: 3.938 kB / 450.9 MB, free: 5.543 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.00178/0.1189, allocations: 1.059 MB / 451.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1189, allocations: 11.97 kB / 452 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.119, allocations: 94.83 kB / 452 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.1198, allocations: 0.5381 MB / 452.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.1199, allocations: 37 kB / 452.6 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.1199, allocations: 56 kB / 452.7 MB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009918/0.1209, allocations: 0.6213 MB / 453.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.121, allocations: 7.938 kB / 453.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.121, allocations: 24 kB / 453.3 MB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.121, allocations: 12 kB / 453.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.122, allocations: 0.4977 MB / 453.8 MB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.176/0.298, allocations: 2.645 MB / 456.5 MB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2991, allocations: 0.5693 MB / 457 MB, free: 45.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.2996, allocations: 278.2 kB / 457.3 MB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.2996, allocations: 8.625 kB / 457.3 MB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2997, allocations: 36.91 kB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.2997, allocations: 0 / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002133/0.3018, allocations: 1.214 MB / 458.6 MB, free: 45.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3019, allocations: 134.1 kB / 458.7 MB, free: 44.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.3026, allocations: 0.6496 MB / 459.4 MB, free: 44.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3026, allocations: 39.84 kB / 459.4 MB, free: 44.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3028, allocations: 362.7 kB / 459.8 MB, free: 44.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3029, allocations: 174.8 kB / 459.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.303, allocations: 12.56 kB / 459.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.303, allocations: 326 kB / 460.3 MB, free: 44.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.3035, allocations: 281.1 kB / 460.5 MB, free: 44.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.3041, allocations: 444 kB / 461 MB, free: 44.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.3047, allocations: 318.6 kB / 461.3 MB, free: 44.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3047, allocations: 3.281 kB / 461.3 MB, free: 44.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001386/0.3061, allocations: 0.8574 MB / 462.1 MB, free: 44.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.3062, allocations: 222.4 kB / 462.4 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3062, allocations: 5.812 kB / 462.4 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.3064, allocations: 59.12 kB / 462.4 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.3071, allocations: 210.7 kB / 462.6 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/0.308, allocations: 1.503 MB / 464.1 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.3085, allocations: 87.23 kB / 464.2 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.3086, allocations: 26.34 kB / 464.2 MB, free: 42.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.3086, allocations: 2.938 kB / 464.2 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/0.3098, allocations: 0.7427 MB / 465 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3098, allocations: 4.188 kB / 465 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.3099, allocations: 63.22 kB / 465 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.3106, allocations: 200.5 kB / 465.2 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/0.3115, allocations: 1.501 MB / 466.7 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.3119, allocations: 86.97 kB / 466.8 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.312, allocations: 21.56 kB / 466.8 MB, free: 41.09 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.3123, allocations: 287.9 kB / 467.1 MB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3124, allocations: 74.81 kB / 467.2 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.3126, allocations: 91.16 kB / 467.3 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3126, allocations: 5.969 kB / 467.3 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3126, allocations: 0 / 467.3 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3126, allocations: 7.328 kB / 467.3 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3136, allocations: 0.8666 MB / 468.2 MB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3136, allocations: 0 / 468.2 MB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.3142, allocations: 113.1 kB / 468.3 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3142, allocations: 2.844 kB / 468.3 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.3143, allocations: 18.11 kB / 468.3 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3143, allocations: 7.453 kB / 468.3 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3143, allocations: 0 / 468.3 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3159, allocations: 1.205 MB / 469.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.3161, allocations: 190.7 kB / 469.7 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.3161, allocations: 15.88 kB / 469.7 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.3166, allocations: 65.09 kB / 469.8 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.3167, allocations: 40.91 kB / 469.8 MB, free: 40 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3167, allocations: 18 kB / 469.8 MB, free: 40 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004775/0.3172, allocations: 458.5 kB / 470.3 MB, free: 39.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3172, allocations: 0 / 470.3 MB, free: 39.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.3179, allocations: 194.2 kB / 470.5 MB, free: 39.91 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.0001043/0.3181, allocations: 114.5 kB / 470.6 MB, free: 39.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.3201, allocations: 1.247 MB / 471.8 MB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3201, allocations: 4 kB / 471.8 MB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.3206, allocations: 302.9 kB / 472.1 MB, free: 39.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/0.3215, allocations: 174.3 kB / 472.3 MB, free: 39.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3235, allocations: 1.776 MB / 474.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3239, allocations: 0.9492 MB / 475 MB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.324, allocations: 55.83 kB / 475.1 MB, free: 37.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3241, allocations: 1.031 kB / 475.1 MB, free: 37.58 MB / 382.1 MB Notification: Performance of Templates: time 0.012/0.3361, allocations: 10.01 MB / 485.1 MB, free: 36.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyStateCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.o] Error 1