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.001984/0.001984, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.002448/0.002448, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.253/2.253, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001406/0.001406, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1501, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01042/0.1606, allocations: 6.217 MB / 333.5 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.1655, allocations: 1.847 MB / 335.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.1676, allocations: 19.94 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1688, allocations: 162.9 kB / 335.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.1709, allocations: 349.5 kB / 335.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1722, allocations: 343.7 kB / 336.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1745, allocations: 1.37 MB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/0.1752, allocations: 447.3 kB / 338 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.1758, allocations: 470.1 kB / 338.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.1764, allocations: 0.5444 MB / 339 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.1765, allocations: 76 kB / 339.1 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1767, allocations: 76 kB / 339.1 MB, free: 8.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.1769, allocations: 227 kB / 339.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.1775, allocations: 0.5597 MB / 339.9 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1789, allocations: 1.496 MB / 341.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1789, allocations: 3.938 kB / 341.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1789, allocations: 0 / 341.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1789, allocations: 0 / 341.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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003082/0.182, allocations: 1.438 MB / 342.8 MB, free: 5.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1821, allocations: 16.03 kB / 342.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.1823, allocations: 119.5 kB / 343 MB, free: 5.016 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1834, allocations: 0.6689 MB / 343.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.1835, allocations: 74.56 kB / 343.7 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.1837, allocations: 100.3 kB / 343.8 MB, free: 4.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1856, allocations: 1.009 MB / 344.8 MB, free: 3.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.1857, allocations: 7.906 kB / 344.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/0.1858, allocations: 40 kB / 344.9 MB, free: 3.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.1858, allocations: 24 kB / 344.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.1876, allocations: 0.8678 MB / 345.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005289/0.1929, allocations: 3.332 MB / 349.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.1944, allocations: 0.823 MB / 349.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009003/0.1954, allocations: 483 kB / 350.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.1954, allocations: 13.16 kB / 350.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.1955, allocations: 55.05 kB / 350.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 3.005e-06/0.1955, allocations: 0 / 350.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009408/0.2049, allocations: 4.289 MB / 354.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.205, allocations: 89.77 kB / 354.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.2059, allocations: 0.6007 MB / 355.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.2059, allocations: 45.7 kB / 355.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.2063, allocations: 432.1 kB / 355.9 MB, free: 7.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.2066, allocations: 390.2 kB / 356.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.2069, allocations: 186.8 kB / 356.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2071, allocations: 386.8 kB / 356.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/0.2079, allocations: 390.4 kB / 357.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009628/0.2089, allocations: 0.508 MB / 357.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.2107, allocations: 0.8848 MB / 358.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2107, allocations: 4 kB / 358.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00257/0.2133, allocations: 1.192 MB / 359.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.2133, allocations: 4 kB / 359.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.2133, allocations: 4 kB / 359.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.2138, allocations: 130.7 kB / 360 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.215, allocations: 259.6 kB / 360.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/0.2205, allocations: 4.524 MB / 364.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.2213, allocations: 51.97 kB / 364.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.2213, allocations: 40.14 kB / 364.8 MB, free: 14.2 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.0005657/0.2219, allocations: 273.6 kB / 365.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.2221, allocations: 90.97 kB / 365.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.2239, allocations: 0.7722 MB / 365.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.2239, allocations: 12 kB / 366 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.224, allocations: 4 kB / 366 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.224, allocations: 7.984 kB / 366 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/0.2289, allocations: 2.667 MB / 368.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.2289, allocations: 0 / 368.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/0.2298, allocations: 203.8 kB / 368.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.2303, allocations: 167.2 kB / 369 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.2305, allocations: 27.98 kB / 369 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.2353, allocations: 5.556 MB / 374.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.2354, allocations: 4.031 kB / 374.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.2389, allocations: 1.743 MB / 376.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.2393, allocations: 160.1 kB / 376.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.2395, allocations: 24 kB / 376.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.2402, allocations: 51.91 kB / 376.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.2404, allocations: 84.33 kB / 376.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.2405, allocations: 32.11 kB / 376.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007156/0.2412, allocations: 443.1 kB / 377.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2412, allocations: 0 / 377.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001185/0.2424, allocations: 256 kB / 377.4 MB, free: 0.9297 MB / 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.0002416/0.2426, allocations: 134.2 kB / 377.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.2245/0.4672, allocations: 1.333 MB / 378.8 MB, free: 52.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.4673, allocations: 2.938 kB / 378.8 MB, free: 52.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.4693, allocations: 1.002 MB / 379.8 MB, free: 51.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4707, allocations: 166 kB / 380 MB, free: 51.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.4766, allocations: 2.63 MB / 382.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/0.4776, allocations: 1.023 MB / 383.6 MB, free: 49.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.4781, allocations: 84.52 kB / 383.7 MB, free: 49.64 MB / 318.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4781, allocations: 0 / 383.7 MB, free: 49.64 MB / 318.1 MB Notification: Performance of Templates: time 0.04693/0.525, allocations: 29.1 MB / 412.8 MB, free: 29.89 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