Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009364, allocations: 88.72 kB / 17.63 MB, free: 6.133 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.001038/0.001038, allocations: 182.6 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 242.5 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 11.22 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 61.91 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003307/0.141, allocations: 2.797 MB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.1438, allocations: 1.47 MB / 476.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.1442, allocations: 19.88 kB / 476.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.1447, allocations: 103.2 kB / 476.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.1451, allocations: 161.8 kB / 476.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1462, allocations: 426.8 kB / 477.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009489/0.1472, allocations: 0.7835 MB / 477.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.1476, allocations: 173 kB / 478.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.148, allocations: 298.6 kB / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.1484, allocations: 318.4 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.1485, allocations: 20 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.1486, allocations: 23.94 kB / 478.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1487, allocations: 159.3 kB / 478.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1489, allocations: 129.3 kB / 479 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.1494, allocations: 0.5378 MB / 479.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1494, allocations: 0 / 479.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1494, allocations: 0 / 479.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1494, allocations: 0 / 479.6 MB, free: 6.324 MB / 350.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.002084/0.1515, allocations: 1.063 MB / 480.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1516, allocations: 8.031 kB / 480.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1517, allocations: 86.97 kB / 480.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.1526, allocations: 0.5304 MB / 481.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1526, allocations: 37 kB / 481.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.1527, allocations: 55.95 kB / 481.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1539, allocations: 0.6291 MB / 482 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1539, allocations: 0 / 482 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.154, allocations: 20 kB / 482 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.154, allocations: 12 kB / 482 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1551, allocations: 0.4944 MB / 482.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.1588, allocations: 2.694 MB / 485.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1599, allocations: 0.578 MB / 485.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.1605, allocations: 278.4 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.1605, allocations: 4 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1606, allocations: 38.56 kB / 486.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/0.1606, allocations: 7.984 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002566/0.1631, allocations: 1.201 MB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.1633, allocations: 140.5 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/0.1641, allocations: 0.6451 MB / 488.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.1642, allocations: 37.7 kB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.1645, allocations: 356 kB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.1647, allocations: 173.5 kB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1648, allocations: 16 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1649, allocations: 330 kB / 489 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.1656, allocations: 293.1 kB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.1663, allocations: 445.1 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.1669, allocations: 337.1 kB / 490 MB, free: 11.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.167, allocations: 4 kB / 490 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001612/0.1686, allocations: 0.8302 MB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.1688, allocations: 220 kB / 491.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1688, allocations: 4 kB / 491.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1688, allocations: 8 kB / 491.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.1695, allocations: 171.7 kB / 491.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.1696, allocations: 4 kB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.1701, allocations: 95.62 kB / 491.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.1702, allocations: 24 kB / 491.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.1702, allocations: 4 kB / 491.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/0.1717, allocations: 0.7218 MB / 492.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1717, allocations: 4 kB / 492.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1717, allocations: 8 kB / 492.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.1723, allocations: 152.3 kB / 492.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.1724, allocations: 11.94 kB / 492.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.1729, allocations: 95.53 kB / 492.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.173, allocations: 20 kB / 492.4 MB, free: 9.016 MB / 366.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.0004214/0.1734, allocations: 293.7 kB / 492.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.1736, allocations: 79 kB / 492.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.1738, allocations: 90.22 kB / 492.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1738, allocations: 4 kB / 492.8 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1738, allocations: 4 kB / 492.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1738, allocations: 3.984 kB / 492.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.1751, allocations: 0.8532 MB / 493.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1751, allocations: 4 kB / 493.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.1757, allocations: 115.9 kB / 493.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1757, allocations: 4 kB / 493.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.1758, allocations: 19.92 kB / 493.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1758, allocations: 4 kB / 493.8 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1758, allocations: 0 / 493.8 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1778, allocations: 1.198 MB / 495 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.178, allocations: 200.1 kB / 495.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.1781, allocations: 23.92 kB / 495.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.1786, allocations: 63.94 kB / 495.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1787, allocations: 31.95 kB / 495.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.1787, allocations: 19.98 kB / 495.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006112/0.1793, allocations: 451 kB / 495.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1794, allocations: 0 / 495.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007773/0.1801, allocations: 200 kB / 496 MB, free: 5.277 MB / 366.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.0001467/0.1803, allocations: 111.2 kB / 496.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.1824, allocations: 1.008 MB / 497.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1824, allocations: 192 / 497.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.183, allocations: 311.6 kB / 497.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.1841, allocations: 180.2 kB / 497.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1869, allocations: 1.768 MB / 499.4 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.1874, allocations: 0.9536 MB / 0.4886 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.1877, allocations: 51.42 kB / 0.4886 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1877, allocations: 0 / 0.4886 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.2003, allocations: 8.625 MB / 0.4971 GB, free: 8.238 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.ContinuousCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.ContinuousCalcHelperMain.o] Error 1