Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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) 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(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 98.47 kB / 17.96 MB, free: 5.77 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.001423/0.001424, allocations: 178.3 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.5/2.5, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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.0005073/0.0005075, allocations: 15.98 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1249, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007418/0.1323, allocations: 5.863 MB / 335.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.1377, allocations: 2.085 MB / 337.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008198/0.1385, allocations: 19.94 kB / 337.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008852/0.1394, allocations: 314.5 kB / 337.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.1407, allocations: 421.4 kB / 338.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.1417, allocations: 399.6 kB / 338.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.1436, allocations: 1.425 MB / 340.1 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.1444, allocations: 451.1 kB / 340.6 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.145, allocations: 458.1 kB / 341 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007427/0.1458, allocations: 0.5755 MB / 341.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1459, allocations: 60 kB / 341.6 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.1462, allocations: 84 kB / 341.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.1465, allocations: 227 kB / 341.9 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006339/0.1471, allocations: 0.5845 MB / 342.5 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.1486, allocations: 1.523 MB / 344 MB, free: 5.238 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1486, allocations: 0 / 344 MB, free: 5.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1487, allocations: 0 / 344 MB, free: 5.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.1487, allocations: 0 / 344 MB, free: 5.238 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002973/0.1517, allocations: 1.375 MB / 345.4 MB, free: 3.809 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1517, allocations: 8.031 kB / 345.4 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.1519, allocations: 127.4 kB / 345.6 MB, free: 3.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.1531, allocations: 0.7045 MB / 346.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.1533, allocations: 82.55 kB / 346.3 MB, free: 2.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.1535, allocations: 103.9 kB / 346.4 MB, free: 2.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.1559, allocations: 1.036 MB / 347.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.1559, allocations: 7.906 kB / 347.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.1561, allocations: 47.98 kB / 347.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.1561, allocations: 20 kB / 347.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.1583, allocations: 0.9421 MB / 348.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.1641, allocations: 3.687 MB / 352.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.1675, allocations: 1.094 MB / 353.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008561/0.1684, allocations: 397.4 kB / 353.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.1685, allocations: 11.98 kB / 353.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.1685, allocations: 43.09 kB / 353.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.647e-06/0.1685, allocations: 0 / 353.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005521/0.1741, allocations: 1.979 MB / 355.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.1741, allocations: 85.11 kB / 355.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.1756, allocations: 0.9779 MB / 356.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.1757, allocations: 37.7 kB / 356.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.1761, allocations: 0.5222 MB / 357.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.1763, allocations: 232.7 kB / 357.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1765, allocations: 73.67 kB / 357.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1767, allocations: 337.9 kB / 357.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009831/0.1776, allocations: 385.8 kB / 358.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.1788, allocations: 0.5652 MB / 358.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.1809, allocations: 0.9185 MB / 359.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1809, allocations: 0 / 359.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0025/0.1834, allocations: 1.099 MB / 360.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1834, allocations: 4 kB / 360.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.1834, allocations: 8 kB / 360.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.1835, allocations: 11.94 kB / 360.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.1848, allocations: 323.6 kB / 361.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/0.1848, allocations: 15.94 kB / 361.3 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.1857, allocations: 91.92 kB / 361.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.1857, allocations: 32 kB / 361.4 MB, free: 3.352 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0005255/0.1863, allocations: 285.6 kB / 361.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.1865, allocations: 110.7 kB / 361.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1875, allocations: 426.2 kB / 362.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.1876, allocations: 8 kB / 362.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1876, allocations: 0 / 362.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.1876, allocations: 7.984 kB / 362.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.1922, allocations: 2.341 MB / 364.5 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.1922, allocations: 8 kB / 364.5 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/0.1932, allocations: 239.9 kB / 364.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.1932, allocations: 8 kB / 364.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.1932, allocations: 20 kB / 364.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.699e-05/0.1933, allocations: 23.86 kB / 364.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.1933, allocations: 15.94 kB / 364.8 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.195, allocations: 1.057 MB / 365.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.1953, allocations: 191.8 kB / 366.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.1955, allocations: 23.98 kB / 366.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.1961, allocations: 63.89 kB / 366.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.1963, allocations: 67.75 kB / 366.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.1963, allocations: 27.98 kB / 366.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.1974, allocations: 0.6786 MB / 367 MB, free: 13.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1974, allocations: 0 / 367 MB, free: 13.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.1984, allocations: 212 kB / 367.2 MB, free: 13.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.001059/0.1995, allocations: 384.2 kB / 367.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.2016, allocations: 0.8122 MB / 368.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2016, allocations: 4 kB / 368.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.2025, allocations: 393.2 kB / 368.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.2045, allocations: 272.2 kB / 369 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.2085, allocations: 2.416 MB / 371.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/0.2093, allocations: 1.015 MB / 372.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.2097, allocations: 99.39 kB / 372.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of SimCode: time 3.677e-06/0.2097, allocations: 0 / 372.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of Templates: time 0.3054/0.5152, allocations: 12.74 MB / 385.3 MB, free: 47.91 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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 OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.o] Error 1