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.0008665/0.0008666, allocations: 86.38 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.001061/0.001061, 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.77/1.77, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004927/0.0004928, allocations: 11.94 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007347/0.1286, allocations: 5.436 MB / 334.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.133, allocations: 1.785 MB / 336.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1343, allocations: 19.94 kB / 336.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.1351, allocations: 162.9 kB / 336.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.1363, allocations: 329.5 kB / 336.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.137, allocations: 203.7 kB / 336.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.1383, allocations: 1.331 MB / 338.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.1389, allocations: 366.2 kB / 338.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.1393, allocations: 422.3 kB / 339 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.1398, allocations: 493.8 kB / 339.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.14, allocations: 64 kB / 339.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1401, allocations: 60 kB / 339.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1403, allocations: 191.2 kB / 339.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1405, allocations: 249.1 kB / 340 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1416, allocations: 1.457 MB / 341.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1417, allocations: 0 / 341.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1417, allocations: 0 / 341.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1417, allocations: 0 / 341.5 MB, free: 7.484 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.002375/0.1441, allocations: 1.298 MB / 342.8 MB, free: 6.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1441, allocations: 12.03 kB / 342.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1443, allocations: 118.6 kB / 342.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.1453, allocations: 0.6485 MB / 343.6 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.1454, allocations: 89.88 kB / 343.7 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.1456, allocations: 103.9 kB / 343.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1474, allocations: 1.013 MB / 344.8 MB, free: 4.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.1474, allocations: 3.984 kB / 344.8 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.1475, allocations: 40 kB / 344.8 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.1476, allocations: 24 kB / 344.8 MB, free: 4.035 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.1493, allocations: 0.9147 MB / 345.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.154, allocations: 3.344 MB / 349.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1554, allocations: 0.8469 MB / 349.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008796/0.1562, allocations: 0.4912 MB / 350.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.1563, allocations: 13.14 kB / 350.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1564, allocations: 43.12 kB / 350.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.816e-06/0.1564, allocations: 0 / 350.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009028/0.1654, allocations: 4.433 MB / 354.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.1655, allocations: 89.77 kB / 355 MB, free: 9.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.1663, allocations: 0.6007 MB / 355.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.1664, allocations: 41.7 kB / 355.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.1667, allocations: 436.1 kB / 356.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.167, allocations: 390.2 kB / 356.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.1671, allocations: 28 kB / 356.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.1673, allocations: 390.7 kB / 356.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/0.1682, allocations: 398.4 kB / 357.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.1691, allocations: 0.5354 MB / 357.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.17, allocations: 440 kB / 358.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.17, allocations: 4 kB / 358.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002237/0.1722, allocations: 1.223 MB / 359.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1723, allocations: 8.125 kB / 359.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1723, allocations: 4 kB / 359.5 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.1727, allocations: 130.5 kB / 359.6 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1737, allocations: 259.7 kB / 359.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/0.1778, allocations: 4.544 MB / 364.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.1785, allocations: 64.03 kB / 364.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.1786, allocations: 39.98 kB / 364.5 MB, free: 15.5 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_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 (128): * Single equations (assignments): 125 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005252/0.1791, allocations: 274 kB / 364.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.1793, allocations: 86.97 kB / 364.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.1808, allocations: 0.784 MB / 365.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1809, allocations: 12 kB / 365.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.1809, allocations: 4.047 kB / 365.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.1809, allocations: 12.05 kB / 365.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.1849, allocations: 2.702 MB / 368.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.1849, allocations: 7.953 kB / 368.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/0.1858, allocations: 215.8 kB / 368.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.1862, allocations: 147.3 kB / 368.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.1862, allocations: 27.98 kB / 368.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.1901, allocations: 5.56 MB / 374.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.1902, allocations: 8.016 kB / 374.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.1932, allocations: 1.79 MB / 376.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.1934, allocations: 168.1 kB / 376.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1935, allocations: 28.12 kB / 376.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.1941, allocations: 51.97 kB / 376.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.1942, allocations: 88.39 kB / 376.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.1943, allocations: 31.94 kB / 376.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005958/0.1949, allocations: 439.1 kB / 376.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.1949, allocations: 0 / 376.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009683/0.1959, allocations: 259.9 kB / 377.1 MB, free: 2.117 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.1961, allocations: 130.9 kB / 377.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.1985, allocations: 1.377 MB / 378.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1986, allocations: 128 / 378.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1996/0.3981, allocations: 1.011 MB / 379.7 MB, free: 45.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.3999, allocations: 169.5 kB / 379.8 MB, free: 45.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.4046, allocations: 2.684 MB / 382.5 MB, free: 44.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.4054, allocations: 1.024 MB / 383.5 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.4057, allocations: 90.55 kB / 383.6 MB, free: 43.29 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4057, allocations: 4 kB / 383.6 MB, free: 43.29 MB / 318.1 MB Notification: Performance of Templates: time 0.03606/0.4418, allocations: 28.97 MB / 412.6 MB, free: 24.39 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++ 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.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