Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008691/0.0008689, allocations: 92.34 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003519, allocations: 8 kB / 307.3 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005846/0.1381, allocations: 3.992 MB / 362.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.1419, allocations: 1.855 MB / 364.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.1424, allocations: 11.94 kB / 364.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008603/0.1432, allocations: 390.7 kB / 365 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009563/0.1442, allocations: 398.1 kB / 365.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.1449, allocations: 231.5 kB / 365.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.146, allocations: 0.8955 MB / 366.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.1464, allocations: 227.9 kB / 366.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.1468, allocations: 330.8 kB / 367.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.1473, allocations: 418.4 kB / 367.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.1474, allocations: 43.94 kB / 367.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.1476, allocations: 71.98 kB / 367.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1478, allocations: 171.3 kB / 367.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.148, allocations: 177.3 kB / 368 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.1489, allocations: 0.9897 MB / 368.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1489, allocations: 0 / 368.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1489, allocations: 0 / 368.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.149, allocations: 4 kB / 369 MB, free: 3.953 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.002105/0.1511, allocations: 1.098 MB / 370.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1511, allocations: 12.03 kB / 370.1 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.1516, allocations: 118.8 kB / 370.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.1524, allocations: 0.5348 MB / 370.7 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.1526, allocations: 53.31 kB / 370.8 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/0.1527, allocations: 59.91 kB / 370.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1541, allocations: 0.6558 MB / 371.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1541, allocations: 4 kB / 371.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.1542, allocations: 24 kB / 371.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1542, allocations: 15.94 kB / 371.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1554, allocations: 0.5946 MB / 372.1 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3094/0.4648, allocations: 2.551 MB / 374.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.4662, allocations: 494.4 kB / 375.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.4671, allocations: 310.2 kB / 375.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.4671, allocations: 11.23 kB / 375.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.4672, allocations: 41.77 kB / 375.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 3.777e-06/0.4672, allocations: 0 / 375.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.005248/0.4725, allocations: 1.655 MB / 377.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4725, allocations: 59.16 kB / 377.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.4741, allocations: 0.9562 MB / 378.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.4741, allocations: 36.27 kB / 378.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.4745, allocations: 408.7 kB / 378.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.4747, allocations: 198 kB / 378.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.4748, allocations: 14.47 kB / 378.8 MB, free: 16.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4749, allocations: 331.5 kB / 379.1 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.4755, allocations: 262 kB / 379.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007678/0.4763, allocations: 372 kB / 379.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007109/0.477, allocations: 294.4 kB / 380 MB, free: 16.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4771, allocations: 6.344 kB / 380.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00186/0.4789, allocations: 0.7714 MB / 380.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.479, allocations: 8.578 kB / 380.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.479, allocations: 2.75 kB / 380.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.479, allocations: 5.938 kB / 380.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.4798, allocations: 184.8 kB / 381 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.4798, allocations: 7.906 kB / 381 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.4804, allocations: 53.97 kB / 381.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.4805, allocations: 26.98 kB / 381.1 MB, free: 15.93 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.0004307/0.4809, allocations: 276.4 kB / 381.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.4811, allocations: 83.25 kB / 381.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.4828, allocations: 0.6579 MB / 382.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4828, allocations: 7.406 kB / 382.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4828, allocations: 0 / 382.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4829, allocations: 3.906 kB / 382.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.4864, allocations: 1.856 MB / 384 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.4864, allocations: 3.562 kB / 384 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.487, allocations: 144.2 kB / 384.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.4871, allocations: 5.469 kB / 384.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.4871, allocations: 18.11 kB / 384.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/0.4871, allocations: 6.094 kB / 384.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4872, allocations: 6 kB / 384.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.4887, allocations: 0.7769 MB / 384.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.489, allocations: 215.8 kB / 385.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4891, allocations: 10.58 kB / 385.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.4896, allocations: 50.47 kB / 385.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4897, allocations: 42.81 kB / 385.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.4897, allocations: 19.75 kB / 385.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.4909, allocations: 0.6962 MB / 386 MB, free: 13.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4909, allocations: 0 / 386 MB, free: 13.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007532/0.4917, allocations: 152 kB / 386.1 MB, free: 13.35 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.0009917/0.4927, allocations: 395 kB / 386.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.4944, allocations: 0.6078 MB / 387.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.4944, allocations: 1.062 kB / 387.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.4951, allocations: 310.8 kB / 387.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008392/0.496, allocations: 121 kB / 387.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.4993, allocations: 1.926 MB / 389.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.5, allocations: 0.9656 MB / 390.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.5003, allocations: 63.16 kB / 390.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5003, allocations: 0 / 390.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Templates: time 0.0182/0.5185, allocations: 9.765 MB / 400.3 MB, free: 4.828 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o] Error 1