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.00172/0.001719, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001632/0.001633, allocations: 194 kB / 18.72 MB, free: 4.762 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.174/2.174, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001672/0.001673, allocations: 43.94 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1885, allocations: 46.63 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01088/0.1995, allocations: 6.326 MB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006242/0.2058, allocations: 2.113 MB / 335.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.2075, allocations: 19.94 kB / 335.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2089, allocations: 306.6 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.2106, allocations: 429.4 kB / 336.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2117, allocations: 387.6 kB / 336.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.2139, allocations: 1.429 MB / 338.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000698/0.2147, allocations: 451.1 kB / 338.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006857/0.2153, allocations: 490 kB / 339.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.2161, allocations: 0.6185 MB / 339.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2162, allocations: 76 kB / 339.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.2165, allocations: 96 kB / 339.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.2168, allocations: 247 kB / 340.2 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.2174, allocations: 0.5828 MB / 340.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.2191, allocations: 1.555 MB / 342.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.2191, allocations: 3.938 kB / 342.3 MB, free: 5.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2192, allocations: 0 / 342.3 MB, free: 5.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.2192, allocations: 0 / 342.3 MB, free: 5.734 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.004188/0.2234, allocations: 1.542 MB / 343.9 MB, free: 4.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.622e-05/0.2235, allocations: 12.03 kB / 343.9 MB, free: 4.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.2238, allocations: 135.3 kB / 344 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.2252, allocations: 0.7006 MB / 344.7 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.2254, allocations: 82.53 kB / 344.8 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2256, allocations: 99.94 kB / 344.9 MB, free: 3.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.2278, allocations: 1.009 MB / 345.9 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.2279, allocations: 4 kB / 345.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.22e-05/0.228, allocations: 36 kB / 345.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.228, allocations: 20 kB / 346 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.2301, allocations: 0.8913 MB / 346.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006581/0.2367, allocations: 3.664 MB / 350.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.2398, allocations: 0.8911 MB / 351.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008677/0.2407, allocations: 365.4 kB / 351.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.2408, allocations: 15.97 kB / 351.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/0.2408, allocations: 43.16 kB / 351.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.497e-06/0.2409, allocations: 0 / 351.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005568/0.2464, allocations: 1.78 MB / 353.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.2465, allocations: 89.11 kB / 353.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.2482, allocations: 0.978 MB / 354.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.2482, allocations: 37.7 kB / 354.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.2488, allocations: 0.5221 MB / 355.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.249, allocations: 232.7 kB / 355.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.2493, allocations: 158.5 kB / 355.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.2496, allocations: 341.9 kB / 355.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009313/0.2505, allocations: 341.8 kB / 356.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.2516, allocations: 0.5222 MB / 356.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.2535, allocations: 0.8404 MB / 357.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2536, allocations: 0 / 357.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002531/0.2561, allocations: 1.017 MB / 358.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.2562, allocations: 8 kB / 358.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/0.2562, allocations: 8 kB / 358.7 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.2562, allocations: 11.98 kB / 358.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.2576, allocations: 291.5 kB / 359 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.2576, allocations: 11.98 kB / 359 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.2586, allocations: 71.83 kB / 359 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.2587, allocations: 36 kB / 359.1 MB, free: 4.426 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.0006176/0.2593, allocations: 289.5 kB / 359.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.2595, allocations: 102.8 kB / 359.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.2606, allocations: 378.2 kB / 359.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2606, allocations: 8 kB / 359.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.2607, allocations: 8 kB / 359.8 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.2607, allocations: 3.984 kB / 359.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.2653, allocations: 2.293 MB / 362.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.2653, allocations: 12.83 kB / 362.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.2662, allocations: 211.6 kB / 362.4 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.2662, allocations: 8 kB / 362.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.2663, allocations: 20 kB / 362.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/0.2663, allocations: 15.92 kB / 362.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.2663, allocations: 11.94 kB / 362.4 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.2684, allocations: 1.029 MB / 363.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.2687, allocations: 187.9 kB / 363.6 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.2688, allocations: 23.98 kB / 363.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.2695, allocations: 47.89 kB / 363.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.2696, allocations: 67.81 kB / 363.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.2697, allocations: 27.98 kB / 363.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.2708, allocations: 0.6786 MB / 364.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2708, allocations: 0 / 364.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00103/0.2719, allocations: 208 kB / 364.7 MB, free: 14.54 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.00117/0.273, allocations: 386.4 kB / 365.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.2753, allocations: 0.757 MB / 365.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2753, allocations: 0 / 365.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.2763, allocations: 369.8 kB / 366.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.278, allocations: 195.1 kB / 366.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.2823, allocations: 2.354 MB / 368.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/0.2832, allocations: 1.018 MB / 369.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.2835, allocations: 83.41 kB / 369.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of SimCode: time 1.633e-06/0.2836, allocations: 0 / 369.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of Templates: time 0.2552/0.5388, allocations: 12.9 MB / 382.7 MB, free: 47.98 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