Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008171/0.000817, allocations: 93.97 kB / 17.59 MB, free: 6.168 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.0008395/0.0008395, allocations: 183.9 kB / 18.47 MB, free: 5.336 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.685/1.685, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004975/0.0004975, allocations: 12.94 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 47.59 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004862/0.1264, allocations: 3.897 MB / 332.9 MB, free: 172 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1297, allocations: 1.65 MB / 334.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.1301, allocations: 8 kB / 334.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007344/0.1309, allocations: 394.7 kB / 334.9 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009245/0.1318, allocations: 370.2 kB / 335.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.1326, allocations: 207.6 kB / 335.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1337, allocations: 0.8955 MB / 336.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.1342, allocations: 232.1 kB / 336.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.1346, allocations: 318.8 kB / 336.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.1351, allocations: 422.5 kB / 337.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.1352, allocations: 36 kB / 337.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1354, allocations: 75.91 kB / 337.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1357, allocations: 159.4 kB / 337.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1359, allocations: 177.3 kB / 337.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.137, allocations: 0.9893 MB / 338.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.137, allocations: 4 kB / 338.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.137, allocations: 0 / 338.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1371, allocations: 0 / 338.8 MB, free: 10.25 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002417/0.1395, allocations: 1.086 MB / 339.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1395, allocations: 11.97 kB / 339.9 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.1397, allocations: 98.83 kB / 340 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.1406, allocations: 0.527 MB / 340.5 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.1407, allocations: 53.31 kB / 340.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1408, allocations: 56 kB / 340.6 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.1422, allocations: 0.6635 MB / 341.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1423, allocations: 7.844 kB / 341.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.1423, allocations: 28 kB / 341.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1424, allocations: 15.98 kB / 341.3 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1436, allocations: 0.5946 MB / 341.9 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.1472, allocations: 2.56 MB / 344.5 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.1481, allocations: 485.8 kB / 344.9 MB, free: 3.812 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.1488, allocations: 302.4 kB / 345.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.1489, allocations: 12.38 kB / 345.3 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1489, allocations: 46.92 kB / 345.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 3.687e-06/0.1489, allocations: 0 / 345.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004255/0.1532, allocations: 1.649 MB / 346.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1533, allocations: 63.97 kB / 347 MB, free: 1.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.1545, allocations: 0.9418 MB / 348 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.1545, allocations: 33.7 kB / 348 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.1548, allocations: 404 kB / 348.4 MB, free: 336 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.155, allocations: 208.9 kB / 348.6 MB, free: 124 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.1551, allocations: 16 kB / 348.6 MB, free: 108 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1552, allocations: 334 kB / 348.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.1558, allocations: 257.9 kB / 349.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.1565, allocations: 367 kB / 349.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.1571, allocations: 291.1 kB / 349.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1571, allocations: 4 kB / 349.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001455/0.1586, allocations: 0.7697 MB / 350.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1586, allocations: 4 kB / 350.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1586, allocations: 4 kB / 350.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1587, allocations: 7.938 kB / 350.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.1594, allocations: 183.8 kB / 350.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1594, allocations: 8 kB / 350.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.1599, allocations: 51.95 kB / 350.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.16, allocations: 23.98 kB / 350.9 MB, free: 13.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003734/0.1604, allocations: 265.7 kB / 351.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1605, allocations: 86.92 kB / 351.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.1619, allocations: 0.6709 MB / 351.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1619, allocations: 8 kB / 351.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1619, allocations: 0 / 351.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1619, allocations: 3.984 kB / 351.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.1649, allocations: 1.852 MB / 353.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.165, allocations: 4 kB / 353.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.1655, allocations: 143.8 kB / 353.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.1655, allocations: 15.89 kB / 353.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.1656, allocations: 24.14 kB / 353.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1656, allocations: 4 kB / 353.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1656, allocations: 4 kB / 353.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1668, allocations: 0.7733 MB / 354.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.1671, allocations: 208 kB / 354.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.1672, allocations: 15.95 kB / 354.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.1675, allocations: 51.95 kB / 355 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.1677, allocations: 44.33 kB / 355 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.1677, allocations: 27.98 kB / 355.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007976/0.1685, allocations: 0.6826 MB / 355.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1685, allocations: 0 / 355.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005655/0.1691, allocations: 152 kB / 355.9 MB, free: 8.566 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0008658/0.17, allocations: 369.1 kB / 356.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.1712, allocations: 0.6126 MB / 356.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1712, allocations: 0 / 356.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.1718, allocations: 311 kB / 357.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.1726, allocations: 122.8 kB / 357.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.1753, allocations: 1.911 MB / 359.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.1759, allocations: 0.9594 MB / 360.2 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.1762, allocations: 63.41 kB / 360.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1762, allocations: 4 kB / 360.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of Templates: time 0.01615/0.1923, allocations: 9.706 MB / 369.9 MB, free: 10.42 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviourCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o] Error 1