Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008908, allocations: 89.72 kB / 17.63 MB, free: 6.156 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.001131/0.001131, allocations: 182.3 kB / 18.52 MB, free: 5.32 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.441/1.441, allocations: 223.2 MB / 242.5 MB, free: 224 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.2423/0.2423, allocations: 44.22 MB / 337.9 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 16.67 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 61.91 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003389/0.1523, allocations: 2.541 MB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1536, allocations: 0.6898 MB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1538, allocations: 4 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.154, allocations: 47.62 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.1542, allocations: 87.3 kB / 475.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1545, allocations: 75.91 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000455/0.1549, allocations: 430.5 kB / 476 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.1553, allocations: 127 kB / 476.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1555, allocations: 147.4 kB / 476.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1559, allocations: 171.3 kB / 476.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.156, allocations: 20 kB / 476.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.657e-05/0.156, allocations: 23.94 kB / 476.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.1561, allocations: 67.73 kB / 476.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.1562, allocations: 85.52 kB / 476.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1565, allocations: 342.9 kB / 477 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1565, allocations: 0 / 477 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1565, allocations: 4 kB / 477 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1566, allocations: 4 kB / 477 MB, free: 8.863 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001287/0.1579, allocations: 0.6356 MB / 477.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1579, allocations: 12.03 kB / 477.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.158, allocations: 43.44 kB / 477.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1584, allocations: 286.2 kB / 478 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.1584, allocations: 33 kB / 478 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.1585, allocations: 40 kB / 478.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.1591, allocations: 338.5 kB / 478.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1591, allocations: 0 / 478.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.1592, allocations: 16 kB / 478.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1592, allocations: 8 kB / 478.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.1598, allocations: 315.8 kB / 478.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.1621, allocations: 1.36 MB / 480.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.1626, allocations: 288.9 kB / 480.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1629, allocations: 165.3 kB / 480.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.163, allocations: 4.281 kB / 480.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.163, allocations: 38.84 kB / 480.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.432e-06/0.163, allocations: 0 / 480.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008329/0.1639, allocations: 391.3 kB / 481 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.1639, allocations: 59.34 kB / 481 MB, free: 4.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1642, allocations: 258.7 kB / 481.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1643, allocations: 33.7 kB / 481.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1645, allocations: 203.9 kB / 481.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/0.1646, allocations: 118.3 kB / 481.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.1646, allocations: 12 kB / 481.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1648, allocations: 342.7 kB / 482 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.165, allocations: 108.8 kB / 482.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.1653, allocations: 175.5 kB / 482.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.1655, allocations: 125.6 kB / 482.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1656, allocations: 0 / 482.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006253/0.1662, allocations: 378.9 kB / 482.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1662, allocations: 6.344 kB / 482.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1662, allocations: 4 kB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1662, allocations: 4 kB / 482.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.1667, allocations: 108 kB / 482.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1668, allocations: 11.94 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.167, allocations: 47.52 kB / 482.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.167, allocations: 12 kB / 482.9 MB, free: 2.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.000151/0.1672, allocations: 158.2 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1672, allocations: 27.72 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.1679, allocations: 332.3 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.168, allocations: 7.938 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.168, allocations: 0 / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.168, allocations: 3.984 kB / 483.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1684, allocations: 405.2 kB / 483.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1684, allocations: 0 / 483.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.1688, allocations: 83.94 kB / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1688, allocations: 3.938 kB / 483.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1688, allocations: 4 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1689, allocations: 4 kB / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1689, allocations: 0 / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.1697, allocations: 0.5299 MB / 484.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.1699, allocations: 132.6 kB / 484.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.17, allocations: 8 kB / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1702, allocations: 15.98 kB / 484.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.1703, allocations: 28.03 kB / 484.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1703, allocations: 11.94 kB / 484.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.1705, allocations: 190 kB / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1705, allocations: 0 / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.1709, allocations: 91.75 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.0001473/0.1711, allocations: 99.19 kB / 485 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.1716, allocations: 291.5 kB / 485.3 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1717, allocations: 0 / 485.3 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.1719, allocations: 143.8 kB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1723, allocations: 29 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1739, allocations: 0.9756 MB / 486.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.1744, allocations: 0.7835 MB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1745, allocations: 31.42 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1745, allocations: 0 / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.006278/0.1808, allocations: 3.821 MB / 491.1 MB, free: 10.35 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Magnetic.FluxTubes.Shapes.ForceCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.ForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.ForceCalcHelperMain.o] Error 1