Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009696/0.0009692, allocations: 92.27 kB / 16.96 MB, free: 6.461 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.001531/0.001531, allocations: 178.8 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005504/0.1377, allocations: 3.966 MB / 355.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.1413, allocations: 1.688 MB / 357.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1418, allocations: 15.94 kB / 357.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.1427, allocations: 394.7 kB / 357.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008255/0.1435, allocations: 366.2 kB / 358.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.1442, allocations: 214.8 kB / 358.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.1454, allocations: 0.9031 MB / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.1458, allocations: 219.9 kB / 359.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.1462, allocations: 322.8 kB / 359.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.1467, allocations: 422.5 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.77e-05/0.1468, allocations: 36 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.147, allocations: 55.98 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1473, allocations: 175.3 kB / 360.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1475, allocations: 177.3 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1488, allocations: 0.9897 MB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.1489, allocations: 0 / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1489, allocations: 4 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1489, allocations: 4 kB / 361.8 MB, free: 10.04 MB / 302.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.002844/0.1518, allocations: 1.086 MB / 362.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.1518, allocations: 8.031 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.152, allocations: 102.8 kB / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1532, allocations: 0.5232 MB / 363.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1533, allocations: 49.31 kB / 363.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1535, allocations: 60 kB / 363.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.155, allocations: 0.6597 MB / 364.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.1551, allocations: 3.953 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.1552, allocations: 24 kB / 364.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.1552, allocations: 16 kB / 364.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1567, allocations: 0.5946 MB / 364.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.1609, allocations: 2.568 MB / 367.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1621, allocations: 490.6 kB / 367.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.1628, allocations: 305.6 kB / 368.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.996e-05/0.1629, allocations: 8.438 kB / 368.3 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.612e-05/0.1629, allocations: 39 kB / 368.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 3.486e-06/0.163, allocations: 0 / 368.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004487/0.1674, allocations: 1.653 MB / 369.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.1675, allocations: 59.97 kB / 370 MB, free: 1.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.1687, allocations: 0.9418 MB / 370.9 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.1688, allocations: 37.7 kB / 371 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.1692, allocations: 404 kB / 371.4 MB, free: 148 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.27/0.4392, allocations: 196.9 kB / 371.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.4393, allocations: 13.19 kB / 371.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4394, allocations: 334.8 kB / 371.9 MB, free: 24.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/0.4402, allocations: 263.2 kB / 372.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/0.4409, allocations: 365.9 kB / 372.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.4416, allocations: 294.6 kB / 372.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4416, allocations: 3.422 kB / 372.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001754/0.4434, allocations: 0.7679 MB / 373.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4434, allocations: 6.625 kB / 373.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4434, allocations: 2.812 kB / 373.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4435, allocations: 6.094 kB / 373.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.4442, allocations: 184.2 kB / 373.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4443, allocations: 9.016 kB / 373.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.4448, allocations: 53.19 kB / 373.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.4449, allocations: 29.25 kB / 373.9 MB, free: 23.92 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.0004864/0.4454, allocations: 268.9 kB / 374.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4456, allocations: 82.75 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.4472, allocations: 0.6694 MB / 374.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4472, allocations: 6.031 kB / 374.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4472, allocations: 0 / 374.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.4472, allocations: 7.703 kB / 374.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.4503, allocations: 1.852 MB / 376.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.4504, allocations: 2.25 kB / 376.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.4509, allocations: 142.3 kB / 376.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.451, allocations: 8.656 kB / 376.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.451, allocations: 16.36 kB / 376.9 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.451, allocations: 9.688 kB / 376.9 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.451, allocations: 6.281 kB / 376.9 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.4524, allocations: 0.7802 MB / 377.7 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.4527, allocations: 207 kB / 377.9 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/0.4528, allocations: 14.56 kB / 377.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.4532, allocations: 50.81 kB / 378 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4533, allocations: 45.91 kB / 378 MB, free: 22.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.4534, allocations: 19.42 kB / 378 MB, free: 22.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000943/0.4543, allocations: 0.6847 MB / 378.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4543, allocations: 1.5 kB / 378.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000659/0.455, allocations: 150.3 kB / 378.9 MB, free: 21.77 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.0009321/0.4559, allocations: 384.2 kB / 379.2 MB, free: 21.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.4573, allocations: 0.6091 MB / 379.9 MB, free: 21.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4573, allocations: 5.031 kB / 379.9 MB, free: 21.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.458, allocations: 314.7 kB / 380.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.4587, allocations: 108.2 kB / 380.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.4617, allocations: 1.91 MB / 382.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.4623, allocations: 0.96 MB / 383.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.4625, allocations: 62.59 kB / 383.2 MB, free: 19.44 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4625, allocations: 0 / 383.2 MB, free: 19.44 MB / 302.1 MB Notification: Performance of Templates: time 0.02275/0.4853, allocations: 9.711 MB / 392.9 MB, free: 15.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o] Error 1