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.001308/0.001308, allocations: 89.03 kB / 16.66 MB, free: 6.098 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.001122/0.001122, allocations: 179.1 kB / 17.57 MB, free: 5.82 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.987/1.987, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2382/0.2382, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 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.0005693/0.0005691, allocations: 22.22 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1571, allocations: 58.87 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002805/0.1599, allocations: 2.647 MB / 446.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1611, allocations: 0.7488 MB / 447.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1613, allocations: 7.938 kB / 447.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1615, allocations: 39.62 kB / 447.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1616, allocations: 91.3 kB / 447.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1619, allocations: 91.91 kB / 447.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1623, allocations: 450.6 kB / 448.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.1626, allocations: 144.3 kB / 448.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1628, allocations: 151.4 kB / 448.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1631, allocations: 187 kB / 448.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.1631, allocations: 20 kB / 448.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.1632, allocations: 20 kB / 448.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.1632, allocations: 67.72 kB / 448.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1634, allocations: 204.7 kB / 448.9 MB, free: 308 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1637, allocations: 343 kB / 449.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1637, allocations: 3.938 kB / 449.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1637, allocations: 0 / 449.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1637, allocations: 0 / 449.3 MB, free: 15.96 MB / 334.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.001409/0.1651, allocations: 0.6358 MB / 449.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.1652, allocations: 15.97 kB / 449.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1653, allocations: 40.47 kB / 450 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1658, allocations: 295 kB / 450.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.1658, allocations: 29.38 kB / 450.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.1659, allocations: 36.38 kB / 450.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.1666, allocations: 354.8 kB / 450.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1666, allocations: 0 / 450.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.1667, allocations: 20 kB / 450.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1667, allocations: 8 kB / 450.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.1674, allocations: 319.8 kB / 451 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.1697, allocations: 1.341 MB / 452.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.1702, allocations: 284.8 kB / 452.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.1706, allocations: 161.4 kB / 452.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.1706, allocations: 8.281 kB / 452.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1707, allocations: 30.84 kB / 452.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.1707, allocations: 3.938 kB / 452.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00103/0.1717, allocations: 406.3 kB / 453.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1718, allocations: 59.34 kB / 453.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.1721, allocations: 262.7 kB / 453.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1722, allocations: 33.7 kB / 453.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1724, allocations: 203.9 kB / 453.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1725, allocations: 118.3 kB / 453.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.1726, allocations: 37.69 kB / 453.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1728, allocations: 342.8 kB / 454.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.173, allocations: 108.8 kB / 454.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.1733, allocations: 179.5 kB / 454.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.1739, allocations: 300.6 kB / 454.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1739, allocations: 0 / 454.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007284/0.1747, allocations: 386.1 kB / 455.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1747, allocations: 8 kB / 455.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1747, allocations: 0 / 455.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1748, allocations: 4 kB / 455.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.1753, allocations: 104.1 kB / 455.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1753, allocations: 4 kB / 455.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.1756, allocations: 39.67 kB / 455.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.1757, allocations: 19.98 kB / 455.4 MB, free: 9.539 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.0001955/0.1759, allocations: 153.7 kB / 455.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.1759, allocations: 31.62 kB / 455.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/0.1767, allocations: 332.4 kB / 455.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1767, allocations: 4 kB / 455.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1767, allocations: 0 / 455.9 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1767, allocations: 3.984 kB / 455.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1772, allocations: 405 kB / 456.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1772, allocations: 0 / 456.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.1776, allocations: 91.81 kB / 456.4 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1776, allocations: 0 / 456.4 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1777, allocations: 12 kB / 456.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1777, allocations: 0 / 456.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1777, allocations: 0 / 456.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.1786, allocations: 0.534 MB / 456.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1787, allocations: 128.7 kB / 457.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.1788, allocations: 8 kB / 457.1 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.179, allocations: 16 kB / 457.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.1791, allocations: 20.03 kB / 457.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1791, allocations: 15.98 kB / 457.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1793, allocations: 186 kB / 457.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1793, allocations: 0 / 457.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1797, allocations: 87.84 kB / 457.4 MB, free: 7.441 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.0001388/0.1798, allocations: 119 kB / 457.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.1804, allocations: 283.6 kB / 457.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1804, allocations: 0 / 457.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1807, allocations: 140.3 kB / 457.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1811, allocations: 40.34 kB / 457.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1827, allocations: 0.9877 MB / 458.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1831, allocations: 0.7873 MB / 459.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.1832, allocations: 31.42 kB / 459.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1832, allocations: 0 / 459.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of Templates: time 0.006777/0.19, allocations: 3.816 MB / 463.6 MB, free: 1.188 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