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.001342/0.001342, allocations: 104.1 kB / 16.52 MB, free: 6.266 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.001476/0.001476, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.888/1.888, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2528/0.2528, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.001588/0.001588, allocations: 62.73 kB / 382.7 MB, free: 57.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1544, allocations: 57.79 MB / 440.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003702/0.1582, allocations: 3.009 MB / 443.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1594, allocations: 0.7682 MB / 444.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1595, allocations: 8 kB / 444.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1597, allocations: 43.62 kB / 444.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1599, allocations: 87.31 kB / 444.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1602, allocations: 99.89 kB / 444.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.1606, allocations: 446.6 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.1609, allocations: 148.3 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1611, allocations: 171.3 kB / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.1613, allocations: 199.1 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.1614, allocations: 24 kB / 445.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.1614, allocations: 28 kB / 445.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1615, allocations: 79.61 kB / 445.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1617, allocations: 191 kB / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.162, allocations: 343.1 kB / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.162, allocations: 0 / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1621, allocations: 0 / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1621, allocations: 0 / 446.1 MB, free: 1.902 MB / 318.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.001435/0.1635, allocations: 0.7098 MB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1636, allocations: 8.031 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.1637, allocations: 44.38 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.164, allocations: 291.1 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.164, allocations: 29.38 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.1641, allocations: 44.38 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.1647, allocations: 342.8 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1647, allocations: 0 / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.1648, allocations: 16 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1648, allocations: 8 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.1653, allocations: 303.8 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.1678, allocations: 1.345 MB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1684, allocations: 272.9 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.1687, allocations: 157.4 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.1687, allocations: 4.281 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1688, allocations: 34.84 kB / 449.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.995e-06/0.1688, allocations: 11.94 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008367/0.1696, allocations: 374.4 kB / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1697, allocations: 59.41 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.17, allocations: 262.6 kB / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/0.1701, allocations: 41.69 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1702, allocations: 192 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1703, allocations: 118.3 kB / 450.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1705, allocations: 78.03 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1706, allocations: 338.8 kB / 451.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.1709, allocations: 100.8 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.1712, allocations: 175.4 kB / 451.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.1717, allocations: 292.7 kB / 451.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1717, allocations: 0 / 451.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007252/0.1724, allocations: 373.8 kB / 452 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1725, allocations: 8.625 kB / 452 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1725, allocations: 4.219 kB / 452 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1725, allocations: 8 kB / 452 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.173, allocations: 103.9 kB / 452.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.173, allocations: 7.938 kB / 452.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.1733, allocations: 43.52 kB / 452.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.1734, allocations: 16 kB / 452.2 MB, free: 11.46 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1735, allocations: 149.7 kB / 452.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.1736, allocations: 27.72 kB / 452.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.1743, allocations: 324.3 kB / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1743, allocations: 11.92 kB / 452.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1743, allocations: 3.984 kB / 452.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1744, allocations: 3.938 kB / 452.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.1749, allocations: 409 kB / 453.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1749, allocations: 3.984 kB / 453.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.1753, allocations: 75.89 kB / 453.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1753, allocations: 4 kB / 453.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.1753, allocations: 11.98 kB / 453.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1754, allocations: 0 / 453.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1754, allocations: 0 / 453.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.1763, allocations: 0.5184 MB / 453.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1765, allocations: 120.7 kB / 453.8 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1765, allocations: 12.06 kB / 453.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.1768, allocations: 11.98 kB / 453.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.1768, allocations: 23.97 kB / 453.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.1769, allocations: 8 kB / 453.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1771, allocations: 190 kB / 454.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1772, allocations: 0 / 454.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.1775, allocations: 87.84 kB / 454.2 MB, free: 9.395 MB / 334.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 (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.0001289/0.1777, allocations: 103.2 kB / 454.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.1782, allocations: 279.6 kB / 454.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1783, allocations: 3.938 kB / 454.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1785, allocations: 131.9 kB / 454.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.179, allocations: 36.8 kB / 454.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1807, allocations: 0.9369 MB / 455.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.1814, allocations: 0.7873 MB / 456.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1816, allocations: 27.44 kB / 456.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1816, allocations: 0 / 456.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of Templates: time 0.006577/0.1882, allocations: 3.871 MB / 460.3 MB, free: 3.172 MB / 334.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++ -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.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