Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 98.06 kB / 17.96 MB, free: 5.637 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.00139/0.001391, allocations: 175.8 kB / 18.86 MB, free: 4.773 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.254/2.254, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005137/0.0005136, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008519/0.1371, allocations: 5.766 MB / 335.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.1427, allocations: 1.835 MB / 337.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1439, allocations: 19.94 kB / 337.2 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.1448, allocations: 166.8 kB / 337.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1464, allocations: 349.5 kB / 337.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1475, allocations: 331.8 kB / 338.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1497, allocations: 1.37 MB / 339.4 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/0.1506, allocations: 447.2 kB / 339.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008123/0.1514, allocations: 438.1 kB / 340.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.1523, allocations: 0.5053 MB / 340.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.1525, allocations: 64 kB / 340.9 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.1527, allocations: 60 kB / 340.9 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.1529, allocations: 199.1 kB / 341.1 MB, free: 8.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007854/0.1537, allocations: 0.5613 MB / 341.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1554, allocations: 1.453 MB / 343.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1555, allocations: 0 / 343.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1555, allocations: 4 kB / 343.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.1555, allocations: 0 / 343.1 MB, free: 6.148 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003892/0.1594, allocations: 1.286 MB / 344.4 MB, free: 4.809 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.1595, allocations: 16.03 kB / 344.4 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.1598, allocations: 119.5 kB / 344.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1612, allocations: 0.6649 MB / 345.2 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1613, allocations: 78.55 kB / 345.3 MB, free: 3.891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.1615, allocations: 100.3 kB / 345.4 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.1637, allocations: 1.037 MB / 346.4 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.1637, allocations: 4 kB / 346.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.1639, allocations: 44 kB / 346.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.1639, allocations: 24 kB / 346.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.1668, allocations: 0.9148 MB / 347.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007617/0.1745, allocations: 3.352 MB / 350.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.1767, allocations: 0.8427 MB / 351.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.1781, allocations: 0.4912 MB / 352.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.1781, allocations: 17.14 kB / 352.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.1782, allocations: 47.12 kB / 352.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 4.539e-06/0.1782, allocations: 0 / 352.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.01449/0.1927, allocations: 4.449 MB / 356.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/0.1929, allocations: 97.7 kB / 356.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.1941, allocations: 0.5968 MB / 357.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.1942, allocations: 45.7 kB / 357.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.1947, allocations: 432.1 kB / 357.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.1951, allocations: 390.2 kB / 358.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.1953, allocations: 89.67 kB / 358.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.1956, allocations: 394.7 kB / 358.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.1969, allocations: 402.4 kB / 359 MB, free: 5.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.1984, allocations: 0.5315 MB / 359.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.2005, allocations: 0.9395 MB / 360.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2005, allocations: 4 kB / 360.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002542/0.2031, allocations: 1.235 MB / 361.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.2031, allocations: 4 kB / 361.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2031, allocations: 4 kB / 361.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.2036, allocations: 134.4 kB / 361.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2046, allocations: 259.6 kB / 362.1 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.2091, allocations: 4.528 MB / 366.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.2099, allocations: 68.14 kB / 366.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/0.21, allocations: 43.98 kB / 366.8 MB, free: 13.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005717/0.2106, allocations: 277.6 kB / 367 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.2108, allocations: 86.97 kB / 367.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.2126, allocations: 0.7879 MB / 367.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2126, allocations: 12 kB / 367.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/0.2127, allocations: 4 kB / 367.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.2127, allocations: 7.969 kB / 367.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.2177, allocations: 2.702 MB / 370.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.2178, allocations: 0 / 370.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.2187, allocations: 223.7 kB / 370.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.2191, allocations: 151.3 kB / 371 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/0.2192, allocations: 27.98 kB / 371 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004698/0.2239, allocations: 5.572 MB / 376.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2239, allocations: 4.125 kB / 376.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.2274, allocations: 1.81 MB / 378.4 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.2277, allocations: 164.1 kB / 378.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.2278, allocations: 24 kB / 378.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.2285, allocations: 59.95 kB / 378.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.2287, allocations: 84.33 kB / 378.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.2287, allocations: 31.98 kB / 378.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006466/0.2294, allocations: 447.1 kB / 379.2 MB, free: 332 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2294, allocations: 3.938 kB / 379.2 MB, free: 328 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001028/0.2304, allocations: 256 kB / 379.5 MB, free: 72 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2317/0.4621, allocations: 128.5 kB / 379.6 MB, free: 51.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003723/0.4659, allocations: 1.374 MB / 381 MB, free: 51.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.4659, allocations: 0 / 381 MB, free: 51.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.4678, allocations: 1.023 MB / 382 MB, free: 50.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.4693, allocations: 169.6 kB / 382.1 MB, free: 50.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.4739, allocations: 2.791 MB / 384.9 MB, free: 49.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/0.4747, allocations: 1.022 MB / 386 MB, free: 48.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.4751, allocations: 85.44 kB / 386 MB, free: 48.82 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4751, allocations: 0 / 386 MB, free: 48.82 MB / 318.1 MB Notification: Performance of Templates: time 0.03464/0.5097, allocations: 28.95 MB / 415 MB, free: 28.27 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStrokeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.o] Error 1