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.0007986/0.0007985, allocations: 96.58 kB / 16.33 MB, free: 5.949 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.0008514/0.0008515, allocations: 190.3 kB / 17.22 MB, free: 5.883 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.253/1.253, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.3036/0.3036, allocations: 43.54 MB / 315.2 MB, free: 8.832 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.0004832/0.0004832, allocations: 12 kB / 384.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003117/0.1068, allocations: 2.864 MB / 446.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1091, allocations: 1.517 MB / 447.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.1093, allocations: 23.88 kB / 447.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.1097, allocations: 103.2 kB / 447.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.1101, allocations: 159 kB / 448.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/0.111, allocations: 419.2 kB / 448.5 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007877/0.1118, allocations: 0.8262 MB / 449.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.1121, allocations: 177.2 kB / 449.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.1124, allocations: 302.6 kB / 449.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.1128, allocations: 338.3 kB / 450.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.1129, allocations: 27.94 kB / 450.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.1131, allocations: 119.8 kB / 450.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1132, allocations: 151.3 kB / 450.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.1133, allocations: 133.3 kB / 450.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005211/0.1138, allocations: 0.6197 MB / 451.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1139, allocations: 0 / 451.1 MB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1139, allocations: 4 kB / 451.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1139, allocations: 0 / 451.2 MB, free: 5.25 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.001881/0.1158, allocations: 1.078 MB / 452.2 MB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1158, allocations: 8.031 kB / 452.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1159, allocations: 94.83 kB / 452.3 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007656/0.1167, allocations: 0.5382 MB / 452.9 MB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.1168, allocations: 37 kB / 452.9 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.1168, allocations: 59.94 kB / 453 MB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009918/0.1178, allocations: 0.6213 MB / 453.6 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1179, allocations: 8 kB / 453.6 MB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1179, allocations: 23.94 kB / 453.6 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1179, allocations: 12 kB / 453.6 MB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.1189, allocations: 0.4977 MB / 454.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1729/0.2918, allocations: 2.665 MB / 456.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.2927, allocations: 0.5327 MB / 457.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.2931, allocations: 283 kB / 457.6 MB, free: 44.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.2932, allocations: 11.55 kB / 457.6 MB, free: 44.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2932, allocations: 41.17 kB / 457.7 MB, free: 44.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.896e-06/0.2932, allocations: 0 / 457.7 MB, free: 44.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001959/0.2952, allocations: 1.224 MB / 458.9 MB, free: 44.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2952, allocations: 131.8 kB / 459 MB, free: 44.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006157/0.2958, allocations: 0.6545 MB / 459.7 MB, free: 43.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2959, allocations: 36.7 kB / 459.7 MB, free: 43.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2961, allocations: 358.9 kB / 460 MB, free: 43.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/0.2962, allocations: 181.1 kB / 460.2 MB, free: 43.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.2962, allocations: 14.09 kB / 460.2 MB, free: 43.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.2962, allocations: 331.5 kB / 460.6 MB, free: 43.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.2967, allocations: 298 kB / 460.9 MB, free: 43.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.2973, allocations: 465 kB / 461.3 MB, free: 43.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.2978, allocations: 332.3 kB / 461.6 MB, free: 43.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2978, allocations: 5.406 kB / 461.6 MB, free: 43.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00124/0.2991, allocations: 0.8698 MB / 462.5 MB, free: 43.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.2992, allocations: 217.7 kB / 462.7 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2992, allocations: 5.969 kB / 462.7 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2992, allocations: 16.55 kB / 462.7 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.3, allocations: 204.1 kB / 462.9 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3, allocations: 12.78 kB / 463 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.3004, allocations: 94.8 kB / 463 MB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.3004, allocations: 27.84 kB / 463.1 MB, free: 42.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/0.3005, allocations: 2.844 kB / 463.1 MB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001088/0.3016, allocations: 0.734 MB / 463.8 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3016, allocations: 6.391 kB / 463.8 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.3016, allocations: 5.906 kB / 463.8 MB, free: 42.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.3023, allocations: 203.1 kB / 464 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3023, allocations: 12.16 kB / 464 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.3027, allocations: 89.84 kB / 464.1 MB, free: 42.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.3027, allocations: 26.16 kB / 464.1 MB, free: 42.74 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002029/0.3029, allocations: 286.8 kB / 464.4 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.303, allocations: 76.81 kB / 464.5 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.3032, allocations: 96.12 kB / 464.6 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3032, allocations: 7.562 kB / 464.6 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3032, allocations: 2.969 kB / 464.6 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3032, allocations: 2.953 kB / 464.6 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3048, allocations: 1.289 MB / 465.9 MB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3048, allocations: 7.5 kB / 465.9 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.3053, allocations: 115.2 kB / 466 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3053, allocations: 3.062 kB / 466 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.3054, allocations: 16.09 kB / 466 MB, free: 42.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3054, allocations: 6.719 kB / 466 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3054, allocations: 9.953 kB / 466 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3069, allocations: 1.231 MB / 467.3 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.3071, allocations: 193.8 kB / 467.5 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.3072, allocations: 14.53 kB / 467.5 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.3076, allocations: 63.23 kB / 467.5 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.3077, allocations: 44.66 kB / 467.6 MB, free: 41.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.3078, allocations: 15.56 kB / 467.6 MB, free: 41.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004738/0.3082, allocations: 456.3 kB / 468 MB, free: 41.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3082, allocations: 5.875 kB / 468.1 MB, free: 41.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006984/0.3089, allocations: 221.6 kB / 468.3 MB, free: 41.44 MB / 382.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 (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.0002074/0.3092, allocations: 138.4 kB / 468.4 MB, free: 41.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.3108, allocations: 1.056 MB / 469.5 MB, free: 41.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3108, allocations: 3.531 kB / 469.5 MB, free: 41.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.3113, allocations: 316.4 kB / 469.8 MB, free: 41.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/0.3122, allocations: 168.6 kB / 469.9 MB, free: 41.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3141, allocations: 1.78 MB / 471.7 MB, free: 40.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3144, allocations: 0.9538 MB / 472.7 MB, free: 39.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.3145, allocations: 50.06 kB / 472.7 MB, free: 39.36 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3145, allocations: 0 / 472.7 MB, free: 39.36 MB / 382.1 MB Notification: Performance of Templates: time 0.009817/0.3244, allocations: 9.049 MB / 481.8 MB, free: 38.56 MB / 382.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++ 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_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