Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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,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") translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007396/0.0007397, allocations: 92.7 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.0007628/0.0007628, allocations: 176.7 kB / 17.21 MB, free: 5.867 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.252/1.252, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.3194/0.3194, allocations: 43.55 MB / 315.2 MB, free: 8.82 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.0004484/0.0004484, allocations: 12 kB / 384.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09499, allocations: 58.87 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00284/0.09786, allocations: 2.813 MB / 446.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1001, allocations: 1.513 MB / 447.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1004, allocations: 19.88 kB / 447.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.1008, allocations: 111.1 kB / 447.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1012, allocations: 151 kB / 448 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.102, allocations: 423.3 kB / 448.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007242/0.1027, allocations: 0.8027 MB / 449.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.1031, allocations: 169.2 kB / 449.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.1034, allocations: 298.6 kB / 449.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.1038, allocations: 330.3 kB / 450 MB, free: 6.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1038, allocations: 20 kB / 450 MB, free: 6.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.1039, allocations: 24 kB / 450.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.104, allocations: 147.3 kB / 450.2 MB, free: 6.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.1041, allocations: 133.3 kB / 450.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.1045, allocations: 0.5339 MB / 450.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1045, allocations: 0 / 450.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1046, allocations: 8 kB / 450.9 MB, free: 5.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1046, allocations: 0 / 450.9 MB, free: 5.559 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.0017/0.1063, allocations: 1.067 MB / 451.9 MB, free: 4.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1063, allocations: 8.031 kB / 451.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1064, allocations: 94.83 kB / 452 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.1071, allocations: 0.5266 MB / 452.6 MB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.1072, allocations: 37 kB / 452.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.1073, allocations: 59.91 kB / 452.7 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.1082, allocations: 0.629 MB / 453.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1082, allocations: 0 / 453.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.1083, allocations: 24 kB / 453.3 MB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1083, allocations: 12 kB / 453.3 MB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000941/0.1093, allocations: 0.4977 MB / 453.8 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1739/0.2832, allocations: 2.687 MB / 456.5 MB, free: 45.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008928/0.2841, allocations: 0.5785 MB / 457.1 MB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.2846, allocations: 274.8 kB / 457.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.2846, allocations: 5 kB / 457.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2846, allocations: 42.23 kB / 457.4 MB, free: 45.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.2846, allocations: 2.938 kB / 457.4 MB, free: 45.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001954/0.2866, allocations: 1.207 MB / 458.6 MB, free: 45.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2866, allocations: 134.4 kB / 458.7 MB, free: 45.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.2873, allocations: 0.6521 MB / 459.4 MB, free: 44.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2873, allocations: 37.42 kB / 459.4 MB, free: 44.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.2875, allocations: 363.9 kB / 459.8 MB, free: 44.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.426e-05/0.2876, allocations: 179.2 kB / 460 MB, free: 44.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.2876, allocations: 13.31 kB / 460 MB, free: 44.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.2877, allocations: 327.4 kB / 460.3 MB, free: 44.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.2882, allocations: 286.7 kB / 460.6 MB, free: 44.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.2887, allocations: 449.4 kB / 461 MB, free: 44.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.2892, allocations: 329.5 kB / 461.3 MB, free: 44.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2892, allocations: 2.875 kB / 461.3 MB, free: 44.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001251/0.2905, allocations: 0.8333 MB / 462.2 MB, free: 44.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.2906, allocations: 222.9 kB / 462.4 MB, free: 43.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2906, allocations: 6.125 kB / 462.4 MB, free: 43.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2906, allocations: 5.812 kB / 462.4 MB, free: 43.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.2912, allocations: 165.9 kB / 462.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.2913, allocations: 8.594 kB / 462.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.2917, allocations: 96.61 kB / 462.7 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.2917, allocations: 23.56 kB / 462.7 MB, free: 43.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.2917, allocations: 2.812 kB / 462.7 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/0.2928, allocations: 0.7183 MB / 463.4 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2928, allocations: 5.625 kB / 463.4 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.2928, allocations: 8.5 kB / 463.4 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.2933, allocations: 154.9 kB / 463.6 MB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2934, allocations: 8.469 kB / 463.6 MB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.2937, allocations: 82.69 kB / 463.7 MB, free: 43.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.2938, allocations: 26.14 kB / 463.7 MB, free: 43.78 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.0002272/0.294, allocations: 291.5 kB / 464 MB, free: 43.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2941, allocations: 83.8 kB / 464.1 MB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.2943, allocations: 90.5 kB / 464.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2943, allocations: 5.594 kB / 464.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2943, allocations: 0 / 464.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2943, allocations: 4.875 kB / 464.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.2954, allocations: 0.863 MB / 465 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2954, allocations: 5.703 kB / 465 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.296, allocations: 110.9 kB / 465.1 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.296, allocations: 6.812 kB / 465.1 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.296, allocations: 20.69 kB / 465.2 MB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.296, allocations: 0 / 465.2 MB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.296, allocations: 3.031 kB / 465.2 MB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.2976, allocations: 1.205 MB / 466.4 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2978, allocations: 190.4 kB / 466.5 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.2979, allocations: 16.81 kB / 466.6 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.2983, allocations: 66.59 kB / 466.6 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.2984, allocations: 41.75 kB / 466.7 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2985, allocations: 15.91 kB / 466.7 MB, free: 42.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004727/0.2989, allocations: 450.3 kB / 467.1 MB, free: 42.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2989, allocations: 0 / 467.1 MB, free: 42.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.2997, allocations: 199.1 kB / 467.3 MB, free: 42.6 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.000126/0.2998, allocations: 110.7 kB / 467.4 MB, free: 42.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.3015, allocations: 1.012 MB / 468.4 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3015, allocations: 0 / 468.4 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.302, allocations: 309.2 kB / 468.7 MB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.303, allocations: 183.4 kB / 468.9 MB, free: 42.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.3051, allocations: 1.756 MB / 470.7 MB, free: 41.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3054, allocations: 0.9618 MB / 471.6 MB, free: 40.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3056, allocations: 50.31 kB / 471.7 MB, free: 40.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3056, allocations: 0 / 471.7 MB, free: 40.73 MB / 382.1 MB Notification: Performance of Templates: time 0.009382/0.315, allocations: 8.671 MB / 480.4 MB, free: 39.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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.ContinuousCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.ContinuousCalcHelperMain.o] Error 1