Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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 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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.0009592, allocations: 96.59 kB / 16.33 MB, free: 6.41 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.0008531/0.0008532, allocations: 182.1 kB / 17.21 MB, free: 6.289 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.647/1.647, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.361/0.3611, allocations: 43.54 MB / 315.2 MB, free: 8.746 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.0005424/0.0005425, allocations: 18.66 kB / 384.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1467, allocations: 58.85 MB / 443.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003021/0.1498, allocations: 2.526 MB / 445.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.151, allocations: 0.7377 MB / 446.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1512, allocations: 7.938 kB / 446.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.1514, allocations: 43.64 kB / 446.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1515, allocations: 79.36 kB / 446.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1518, allocations: 87.83 kB / 446.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.1523, allocations: 422.6 kB / 447.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.1525, allocations: 122.6 kB / 447.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1528, allocations: 159.4 kB / 447.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.153, allocations: 175.2 kB / 447.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.153, allocations: 20 kB / 447.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.1531, allocations: 20 kB / 447.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.1532, allocations: 71.73 kB / 447.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.1533, allocations: 89.52 kB / 447.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.1536, allocations: 335 kB / 448.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.1537, allocations: 0 / 448.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1537, allocations: 3.938 kB / 448.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1537, allocations: 4 kB / 448.3 MB, free: 8.207 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00128/0.155, allocations: 0.6394 MB / 448.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.155, allocations: 12.03 kB / 448.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.1551, allocations: 39.53 kB / 449 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1555, allocations: 278.4 kB / 449.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.1555, allocations: 29 kB / 449.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.1556, allocations: 43.89 kB / 449.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.1562, allocations: 342.5 kB / 449.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1563, allocations: 8 kB / 449.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.1563, allocations: 16 kB / 449.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1563, allocations: 8 kB / 449.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.1569, allocations: 311.8 kB / 450 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.1591, allocations: 1.349 MB / 451.3 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.1597, allocations: 276.9 kB / 451.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.16, allocations: 169.3 kB / 451.8 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.16, allocations: 8.281 kB / 451.8 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.16, allocations: 30.84 kB / 451.8 MB, free: 4.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.1601, allocations: 4 kB / 451.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007812/0.1608, allocations: 394.4 kB / 452.2 MB, free: 4.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1609, allocations: 59.34 kB / 452.2 MB, free: 4.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.1612, allocations: 262.7 kB / 452.5 MB, free: 3.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1612, allocations: 33.64 kB / 452.5 MB, free: 3.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1614, allocations: 207.9 kB / 452.7 MB, free: 3.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.1615, allocations: 114.3 kB / 452.9 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.1615, allocations: 8 kB / 452.9 MB, free: 3.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1616, allocations: 342.8 kB / 453.2 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1619, allocations: 108.8 kB / 453.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.1621, allocations: 175.5 kB / 453.5 MB, free: 2.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1624, allocations: 129.5 kB / 453.6 MB, free: 2.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1624, allocations: 4 kB / 453.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006189/0.163, allocations: 374.9 kB / 454 MB, free: 2.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1631, allocations: 11.66 kB / 454 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1631, allocations: 4 kB / 454 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1631, allocations: 4 kB / 454 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.1636, allocations: 103.8 kB / 454.1 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1636, allocations: 4 kB / 454.1 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1638, allocations: 51.52 kB / 454.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.1639, allocations: 15.97 kB / 454.2 MB, free: 2.039 MB / 382.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.0001557/0.164, allocations: 157.8 kB / 454.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1641, allocations: 31.58 kB / 454.3 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.1647, allocations: 332.3 kB / 454.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1647, allocations: 4 kB / 454.7 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1647, allocations: 4 kB / 454.7 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1648, allocations: 0 / 454.7 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.1653, allocations: 401.2 kB / 455.1 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1653, allocations: 4 kB / 455.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.1657, allocations: 83.88 kB / 455.2 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1657, allocations: 4 kB / 455.2 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1657, allocations: 7.953 kB / 455.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1657, allocations: 7.938 kB / 455.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1657, allocations: 0 / 455.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008377/0.1666, allocations: 0.5299 MB / 455.7 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.1667, allocations: 132.6 kB / 455.8 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.1668, allocations: 8 kB / 455.8 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.167, allocations: 15.95 kB / 455.9 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.167, allocations: 19.97 kB / 455.9 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1671, allocations: 15.98 kB / 455.9 MB, free: 212 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1673, allocations: 186 kB / 456.1 MB, free: 24 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 3.938 kB / 456.1 MB, free: 20 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2618/0.4291, allocations: 90.38 kB / 456.2 MB, free: 46.61 MB / 382.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.000139/0.4293, allocations: 102.4 kB / 456.3 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.43, allocations: 290.9 kB / 456.5 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.43, allocations: 3.656 kB / 456.6 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.4302, allocations: 138.5 kB / 456.7 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4306, allocations: 26.06 kB / 456.7 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4319, allocations: 0.976 MB / 457.7 MB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.4321, allocations: 0.7855 MB / 458.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4322, allocations: 29.64 kB / 458.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4322, allocations: 1.406 kB / 458.5 MB, free: 45.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005009/0.4372, allocations: 3.812 MB / 462.3 MB, free: 45.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.ForceCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.ForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.ForceCalcHelperMain.o] Error 1