Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009624/0.0009626, allocations: 90.81 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009679/0.0009681, allocations: 198.2 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 8 kB / 307.3 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 51.48 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00735/0.1452, allocations: 5.62 MB / 364.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.1504, allocations: 2.229 MB / 366.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000749/0.1512, allocations: 19.94 kB / 366.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008122/0.152, allocations: 294.6 kB / 366.9 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.1533, allocations: 449.3 kB / 367.4 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009753/0.1543, allocations: 278.9 kB / 367.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.156, allocations: 1.366 MB / 369 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.1567, allocations: 386 kB / 369.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.1576, allocations: 458.2 kB / 369.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009058/0.1585, allocations: 0.5329 MB / 370.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1586, allocations: 63.94 kB / 370.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.1589, allocations: 91.98 kB / 370.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.1591, allocations: 223 kB / 370.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.1594, allocations: 249.1 kB / 371 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1611, allocations: 1.531 MB / 372.5 MB, free: 116 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1611, allocations: 4 kB / 372.5 MB, free: 112 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1611, allocations: 0 / 372.5 MB, free: 112 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.1611, allocations: 0 / 372.5 MB, free: 112 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.2925/0.4537, allocations: 1.39 MB / 373.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.4538, allocations: 9.688 kB / 373.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006968/0.4545, allocations: 154.7 kB / 374.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.4559, allocations: 0.6862 MB / 374.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.4561, allocations: 78.97 kB / 374.8 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.4563, allocations: 102.9 kB / 374.9 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.4592, allocations: 1.035 MB / 376 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.885e-05/0.4593, allocations: 6.938 kB / 376 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.4594, allocations: 39 kB / 376 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/0.4595, allocations: 23 kB / 376 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.4624, allocations: 0.9426 MB / 377 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009689/0.4721, allocations: 3.679 MB / 380.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/0.4774, allocations: 1.093 MB / 381.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.4792, allocations: 402.6 kB / 382.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.4793, allocations: 9.594 kB / 382.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/0.4794, allocations: 41.97 kB / 382.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 5.861e-06/0.4794, allocations: 0 / 382.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.008005/0.4874, allocations: 1.979 MB / 384.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.4875, allocations: 83.58 kB / 384.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.4893, allocations: 0.9875 MB / 385.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.4894, allocations: 35.98 kB / 385.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.4898, allocations: 0.5283 MB / 385.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.49, allocations: 230.7 kB / 386 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.4901, allocations: 20.03 kB / 386.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4902, allocations: 336.2 kB / 386.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4913, allocations: 380.9 kB / 386.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4924, allocations: 0.5598 MB / 387.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4935, allocations: 426.2 kB / 387.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4935, allocations: 6.828 kB / 387.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002838/0.4963, allocations: 1.089 MB / 388.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.4964, allocations: 7.75 kB / 388.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.4964, allocations: 9.312 kB / 388.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.4964, allocations: 10.97 kB / 388.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.4978, allocations: 318.1 kB / 389.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/0.4978, allocations: 18.62 kB / 389.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000983/0.4988, allocations: 95.69 kB / 389.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/0.4989, allocations: 37.88 kB / 389.3 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (108): * Single equations (assignments): 108 * 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.0005508/0.4995, allocations: 283.4 kB / 389.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.4997, allocations: 107.5 kB / 389.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.5007, allocations: 423.3 kB / 390.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5008, allocations: 6.438 kB / 390.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.5008, allocations: 1.312 kB / 390.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5008, allocations: 5.328 kB / 390.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.5048, allocations: 2.346 MB / 392.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5048, allocations: 10.72 kB / 392.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.5057, allocations: 236 kB / 392.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/0.5058, allocations: 9.625 kB / 392.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.5058, allocations: 20.38 kB / 392.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.5058, allocations: 20.55 kB / 392.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.5059, allocations: 10.81 kB / 392.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.5076, allocations: 1.067 MB / 393.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.5078, allocations: 194.6 kB / 394 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.508, allocations: 17.88 kB / 394 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.5086, allocations: 62.45 kB / 394.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5087, allocations: 69.28 kB / 394.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.5088, allocations: 33.3 kB / 394.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.5098, allocations: 0.6822 MB / 394.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5098, allocations: 4 kB / 394.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001029/0.5109, allocations: 204.8 kB / 395.1 MB, free: 8.316 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0009051/0.5118, allocations: 381 kB / 395.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.5135, allocations: 0.8136 MB / 396.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5135, allocations: 0 / 396.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000743/0.5142, allocations: 386.5 kB / 396.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5154, allocations: 195.9 kB / 396.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.5186, allocations: 2.32 MB / 399.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.5191, allocations: 1.022 MB / 400.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.5194, allocations: 83.39 kB / 400.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5194, allocations: 0 / 400.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of Templates: time 0.02059/0.54, allocations: 12.84 MB / 413.1 MB, free: 7.562 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviourCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.o] Error 1