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.001115/0.001115, allocations: 88.62 kB / 17.58 MB, free: 6.219 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.0012/0.0012, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.789/1.789, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004867/0.0004868, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006588/0.1275, allocations: 5.518 MB / 334.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.1314, allocations: 2.02 MB / 336.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.132, allocations: 19.94 kB / 336.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.1327, allocations: 302.6 kB / 336.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.1336, allocations: 413.4 kB / 337.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1343, allocations: 267.5 kB / 337.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1358, allocations: 1.362 MB / 338.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005484/0.1364, allocations: 382 kB / 339.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.1369, allocations: 450.2 kB / 339.7 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.1376, allocations: 0.5445 MB / 340.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1377, allocations: 63.94 kB / 340.3 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.1379, allocations: 76 kB / 340.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1382, allocations: 219.1 kB / 340.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.1384, allocations: 249.1 kB / 340.8 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.1397, allocations: 1.527 MB / 342.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1397, allocations: 0 / 342.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1397, allocations: 0 / 342.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1397, allocations: 0 / 342.4 MB, free: 6.641 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.002813/0.1426, allocations: 1.387 MB / 343.7 MB, free: 5.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1426, allocations: 8.031 kB / 343.7 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.1428, allocations: 134.5 kB / 343.9 MB, free: 5.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.144, allocations: 0.6765 MB / 344.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1441, allocations: 77.98 kB / 344.6 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.1443, allocations: 99.91 kB / 344.7 MB, free: 4.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.1464, allocations: 1.033 MB / 345.8 MB, free: 3.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.1464, allocations: 4 kB / 345.8 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.1465, allocations: 36 kB / 345.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.1465, allocations: 24 kB / 345.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1486, allocations: 0.9498 MB / 346.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/0.1542, allocations: 3.687 MB / 350.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.1573, allocations: 1.091 MB / 351.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.1581, allocations: 401.8 kB / 351.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.294e-05/0.1582, allocations: 8.172 kB / 352 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1582, allocations: 47.34 kB / 352 MB, free: 12.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/0.1582, allocations: 3.938 kB / 352 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004765/0.163, allocations: 1.965 MB / 354 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.1631, allocations: 81.11 kB / 354 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.1645, allocations: 0.9818 MB / 355 MB, free: 9.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.1645, allocations: 37.7 kB / 355.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.165, allocations: 0.526 MB / 355.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.1652, allocations: 232.6 kB / 355.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1653, allocations: 16 kB / 355.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1655, allocations: 341.9 kB / 356.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/0.1664, allocations: 377.8 kB / 356.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.1674, allocations: 0.5574 MB / 357.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009676/0.1684, allocations: 429.9 kB / 357.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1684, allocations: 3.938 kB / 357.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00235/0.1708, allocations: 1.091 MB / 358.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.1708, allocations: 8 kB / 358.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1709, allocations: 4 kB / 358.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.1709, allocations: 8 kB / 358.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.1721, allocations: 331.5 kB / 359 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.1721, allocations: 8 kB / 359 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.1729, allocations: 91.92 kB / 359 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/0.173, allocations: 32 kB / 359.1 MB, free: 5.438 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_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005478/0.1736, allocations: 289.5 kB / 359.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1738, allocations: 94.88 kB / 359.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.1748, allocations: 426.2 kB / 359.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.1748, allocations: 12 kB / 359.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1748, allocations: 3.953 kB / 359.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1748, allocations: 3.984 kB / 359.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.1789, allocations: 2.337 MB / 362.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.1789, allocations: 11.98 kB / 362.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.1798, allocations: 239.8 kB / 362.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.1798, allocations: 8 kB / 362.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.1798, allocations: 20 kB / 362.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/0.1799, allocations: 15.98 kB / 362.5 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.1799, allocations: 15.94 kB / 362.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.1817, allocations: 1.056 MB / 363.6 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1819, allocations: 195.8 kB / 363.8 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1821, allocations: 23.98 kB / 363.8 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.1826, allocations: 63.95 kB / 363.9 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.1828, allocations: 67.81 kB / 363.9 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.1828, allocations: 27.98 kB / 364 MB, free: 280 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009234/0.1838, allocations: 0.6747 MB / 364.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1838, allocations: 0 / 364.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008107/0.1846, allocations: 208 kB / 364.8 MB, free: 15.4 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 (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.0009879/0.1856, allocations: 384.8 kB / 365.2 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.1874, allocations: 0.8116 MB / 366 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1874, allocations: 0.6875 kB / 366 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.1882, allocations: 393.1 kB / 366.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.1894, allocations: 188.2 kB / 366.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.1933, allocations: 2.312 MB / 368.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.194, allocations: 1.018 MB / 369.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.1943, allocations: 79.41 kB / 370 MB, free: 10.09 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1943, allocations: 0 / 370 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Templates: time 0.2274/0.4217, allocations: 12.77 MB / 382.8 MB, free: 51.75 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++ 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 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