Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008754/0.0008754, allocations: 91.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009033/0.0009033, allocations: 195.8 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2925/0.2925, allocations: 45.91 MB / 344.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.000258, allocations: 4 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 63.45 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003407/0.1566, allocations: 2.557 MB / 484.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1579, allocations: 0.7444 MB / 485.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.158, allocations: 7.938 kB / 485.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.1582, allocations: 43.62 kB / 485.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1584, allocations: 75.38 kB / 485.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1587, allocations: 87.83 kB / 485.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.1592, allocations: 426.7 kB / 486 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.1594, allocations: 115 kB / 486.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.1597, allocations: 159.4 kB / 486.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.16, allocations: 171.2 kB / 486.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.16, allocations: 20 kB / 486.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.1601, allocations: 24 kB / 486.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.1602, allocations: 67.73 kB / 486.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.1603, allocations: 93.45 kB / 486.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1606, allocations: 350.9 kB / 487 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1606, allocations: 0 / 487 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1606, allocations: 0 / 487 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1606, allocations: 0 / 487 MB, free: 0.5039 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.00127/0.1619, allocations: 0.6395 MB / 487.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.162, allocations: 12.03 kB / 487.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.1623, allocations: 63.38 kB / 487.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1626, allocations: 278.4 kB / 488 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.1627, allocations: 28.94 kB / 488 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.1627, allocations: 43.94 kB / 488.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.1634, allocations: 338.5 kB / 488.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1634, allocations: 4 kB / 488.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1635, allocations: 19.94 kB / 488.4 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.1635, allocations: 15.95 kB / 488.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.1641, allocations: 307.8 kB / 488.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1663, allocations: 1.345 MB / 490.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1668, allocations: 277.7 kB / 490.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1671, allocations: 169.3 kB / 490.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1672, allocations: 4.281 kB / 490.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1672, allocations: 38.84 kB / 490.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.1672, allocations: 0 / 490.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008417/0.1681, allocations: 403.2 kB / 491 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.1681, allocations: 63.3 kB / 491 MB, free: 12.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1685, allocations: 258.7 kB / 491.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1685, allocations: 33.64 kB / 491.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1687, allocations: 199.9 kB / 491.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1688, allocations: 118.3 kB / 491.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.1688, allocations: 8 kB / 491.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.169, allocations: 346.8 kB / 492 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1693, allocations: 100.8 kB / 492.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.1695, allocations: 179.5 kB / 492.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1698, allocations: 133.5 kB / 492.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1698, allocations: 0 / 492.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000659/0.1705, allocations: 371.1 kB / 492.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1705, allocations: 8 kB / 492.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1705, allocations: 0 / 492.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1706, allocations: 4 kB / 492.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.171, allocations: 111.8 kB / 492.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1711, allocations: 4 kB / 492.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.1713, allocations: 51.47 kB / 492.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1713, allocations: 12 kB / 492.9 MB, free: 10.3 MB / 366.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.0001714/0.1715, allocations: 153.8 kB / 493.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.1716, allocations: 23.72 kB / 493.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/0.1723, allocations: 343.9 kB / 493.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1723, allocations: 11.98 kB / 493.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1723, allocations: 0 / 493.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1723, allocations: 3.984 kB / 493.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1728, allocations: 401.2 kB / 493.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1728, allocations: 0 / 493.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.1732, allocations: 83.88 kB / 493.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1732, allocations: 7.938 kB / 493.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.1733, allocations: 8 kB / 493.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1733, allocations: 7.922 kB / 493.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1733, allocations: 4 kB / 494 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.1742, allocations: 0.5267 MB / 494.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1743, allocations: 128.6 kB / 494.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.1744, allocations: 4 kB / 494.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1746, allocations: 19.98 kB / 494.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.1747, allocations: 27.91 kB / 494.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1747, allocations: 8 kB / 494.7 MB, free: 8.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1749, allocations: 190 kB / 494.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1749, allocations: 0 / 494.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.1753, allocations: 95.81 kB / 494.9 MB, free: 8.184 MB / 366.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.0001361/0.1754, allocations: 103.7 kB / 495 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.176, allocations: 283.9 kB / 495.3 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.176, allocations: 4.062 kB / 495.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1762, allocations: 140.3 kB / 495.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1766, allocations: 32.52 kB / 495.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1782, allocations: 0.9733 MB / 496.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1786, allocations: 0.7835 MB / 497.2 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1787, allocations: 27.44 kB / 497.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1787, allocations: 0 / 497.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of Templates: time 0.006337/0.185, allocations: 3.827 MB / 0.4894 GB, free: 1.969 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.ForceCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.ForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.ForceCalcHelperMain.o] Error 1