Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 102 kB / 16.52 MB, free: 6.668 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.002086/0.002086, allocations: 199.7 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.851/2.851, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3735/0.3735, allocations: 43.51 MB / 314.1 MB, free: 0.7656 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.001846/0.001846, allocations: 72.7 kB / 382.7 MB, free: 57.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2338, allocations: 57.79 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.008999/0.2429, allocations: 4.384 MB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.247, allocations: 1.567 MB / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005197/0.2476, allocations: 35.81 kB / 446.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.2481, allocations: 114.9 kB / 446.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.2486, allocations: 130.8 kB / 446.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2499, allocations: 0.5302 MB / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.2512, allocations: 0.9761 MB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008966/0.2521, allocations: 431.4 kB / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.2526, allocations: 322.2 kB / 448.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005732/0.2532, allocations: 361.6 kB / 449.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.2533, allocations: 40 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2535, allocations: 44 kB / 449.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.2537, allocations: 159.1 kB / 449.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.2543, allocations: 393.2 kB / 449.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.2555, allocations: 0.7329 MB / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.2555, allocations: 0 / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2555, allocations: 0 / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.2556, allocations: 0 / 450.6 MB, free: 13.29 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003081/0.2586, allocations: 1.312 MB / 452 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.628e-05/0.2587, allocations: 12.03 kB / 452 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.259, allocations: 119.4 kB / 452.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.2603, allocations: 0.6475 MB / 452.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.2604, allocations: 45.69 kB / 452.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.2606, allocations: 68.36 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.2626, allocations: 0.7391 MB / 453.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.2626, allocations: 11.98 kB / 453.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.2627, allocations: 24 kB / 453.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.2627, allocations: 16 kB / 453.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.2642, allocations: 0.5498 MB / 454.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/0.2696, allocations: 2.733 MB / 456.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.2714, allocations: 0.6671 MB / 457.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.2722, allocations: 279.2 kB / 457.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/0.2723, allocations: 12 kB / 457.9 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.2724, allocations: 46.55 kB / 457.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 3.657e-06/0.2724, allocations: 0 / 457.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.002453/0.2749, allocations: 0.7923 MB / 458.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003823/0.2753, allocations: 239.3 kB / 458.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.2767, allocations: 0.7166 MB / 459.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-05/0.2768, allocations: 33.7 kB / 459.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.2774, allocations: 452.3 kB / 460.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.2777, allocations: 185.3 kB / 460.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.2779, allocations: 94.25 kB / 460.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000388/0.2783, allocations: 334 kB / 460.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/0.2791, allocations: 234.9 kB / 461 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/0.2801, allocations: 360.1 kB / 461.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.2817, allocations: 0.5658 MB / 461.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.2817, allocations: 0 / 461.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003361/0.2851, allocations: 1.041 MB / 462.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.2851, allocations: 4.625 kB / 462.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.2851, allocations: 4 kB / 462.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.2867, allocations: 323.4 kB / 463.2 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.2873, allocations: 127.9 kB / 463.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.3011, allocations: 6.771 MB / 470.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.3021, allocations: 79.41 kB / 470.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3022, allocations: 20 kB / 470.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/0.3034, allocations: 361 kB / 470.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008156/0.3042, allocations: 332 kB / 470.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/0.3055, allocations: 499 kB / 471.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/0.3056, allocations: 0 / 471.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002434/0.308, allocations: 0.7433 MB / 472.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.3081, allocations: 8.266 kB / 472.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3081, allocations: 8 kB / 472.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/0.3088, allocations: 133.6 kB / 472.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.3097, allocations: 171.8 kB / 472.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006079/0.3158, allocations: 3.198 MB / 475.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/0.3167, allocations: 51.7 kB / 475.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/0.3168, allocations: 24 kB / 475.7 MB, free: 2.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005311/0.3173, allocations: 221.2 kB / 475.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.3178, allocations: 102.8 kB / 476 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.3182, allocations: 95.39 kB / 476.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.3182, allocations: 8 kB / 476.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.3182, allocations: 0 / 476.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.3183, allocations: 3.984 kB / 476.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.3204, allocations: 0.7391 MB / 476.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.3204, allocations: 4 kB / 476.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.3212, allocations: 115.8 kB / 477 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.3212, allocations: 4 kB / 477 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.3213, allocations: 12 kB / 477 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.3213, allocations: 4 kB / 477 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3213, allocations: 0 / 477 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.3242, allocations: 1.213 MB / 478.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.3248, allocations: 215.7 kB / 478.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.325, allocations: 12 kB / 478.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.3256, allocations: 43.95 kB / 478.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3258, allocations: 27.95 kB / 478.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.3258, allocations: 16 kB / 478.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.327, allocations: 495 kB / 479 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.327, allocations: 4 kB / 479 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001549/0.3286, allocations: 283.1 kB / 479.3 MB, free: 15.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.3289, allocations: 119 kB / 479.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006029/0.3349, allocations: 1.866 MB / 481.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.3349, allocations: 0 / 481.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.3357, allocations: 279.7 kB / 481.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.3376, allocations: 229 kB / 481.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.3425, allocations: 1.884 MB / 483.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.344, allocations: 0.9888 MB / 484.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.3443, allocations: 51.44 kB / 484.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3443, allocations: 0 / 484.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of Templates: time 0.04202/0.3863, allocations: 17.41 MB / 0.4904 GB, free: 8.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimPIDCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimPIDCalcHelperMain.o] Error 1