Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.000974/0.0009735, allocations: 92.33 kB / 16.95 MB, free: 5.953 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.001214/0.001214, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.52/1.52, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 4 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006921/0.1475, allocations: 5.497 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.1512, allocations: 1.749 MB / 359.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007504/0.152, allocations: 19.94 kB / 359.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.1525, allocations: 170.8 kB / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009564/0.1535, allocations: 325.5 kB / 359.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.1542, allocations: 211.8 kB / 359.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1557, allocations: 1.319 MB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.1563, allocations: 377.9 kB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.1569, allocations: 418.4 kB / 361.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.1575, allocations: 0.4938 MB / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.1577, allocations: 60 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1578, allocations: 60 kB / 362.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.158, allocations: 191.2 kB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.1582, allocations: 241.1 kB / 363 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1596, allocations: 1.469 MB / 364.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1596, allocations: 0 / 364.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1596, allocations: 0 / 364.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.1597, allocations: 0 / 364.4 MB, free: 7.398 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002761/0.1624, allocations: 1.297 MB / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1625, allocations: 12.03 kB / 365.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.1627, allocations: 118.6 kB / 365.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1638, allocations: 0.6408 MB / 366.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.1639, allocations: 74 kB / 366.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.1641, allocations: 103.9 kB / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.1662, allocations: 1.021 MB / 367.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.1662, allocations: 11.8 kB / 367.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.1663, allocations: 44 kB / 367.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.1663, allocations: 20 kB / 367.8 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.1683, allocations: 0.9109 MB / 368.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2659/0.4342, allocations: 3.342 MB / 372 MB, free: 22.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.4371, allocations: 0.8377 MB / 372.8 MB, free: 22.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.4389, allocations: 490.3 kB / 373.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.4391, allocations: 17.64 kB / 373.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.321e-05/0.4391, allocations: 41.19 kB / 373.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 4.178e-06/0.4392, allocations: 0 / 373.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.01471/0.4539, allocations: 4.443 MB / 377.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.454, allocations: 88.77 kB / 377.9 MB, free: 21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.4555, allocations: 0.6019 MB / 378.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/0.4556, allocations: 46.23 kB / 378.6 MB, free: 20.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.456, allocations: 427.8 kB / 379 MB, free: 20.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.4565, allocations: 392 kB / 379.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.4566, allocations: 21.47 kB / 379.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4568, allocations: 395 kB / 379.8 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.4581, allocations: 400 kB / 380.2 MB, free: 19.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.4596, allocations: 0.5294 MB / 380.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.461, allocations: 443.1 kB / 381.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.461, allocations: 5.219 kB / 381.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003744/0.4648, allocations: 1.226 MB / 382.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.4648, allocations: 13.17 kB / 382.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4648, allocations: 3.375 kB / 382.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.4655, allocations: 130.4 kB / 382.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.4671, allocations: 261.3 kB / 382.8 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.4713, allocations: 4.522 MB / 387.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4725, allocations: 68.19 kB / 387.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4727, allocations: 38.11 kB / 387.4 MB, free: 14.09 MB / 302.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.000912/0.4736, allocations: 279.5 kB / 387.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.474, allocations: 91.66 kB / 387.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.4768, allocations: 0.7877 MB / 388.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.4768, allocations: 13.19 kB / 388.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/0.4769, allocations: 3.281 kB / 388.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/0.4769, allocations: 6.5 kB / 388.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006902/0.4838, allocations: 2.683 MB / 391.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4838, allocations: 0 / 391.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.4853, allocations: 217 kB / 391.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/0.486, allocations: 160 kB / 391.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.4861, allocations: 30.8 kB / 391.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.4906, allocations: 5.567 MB / 397.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4906, allocations: 2.094 kB / 397.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.4956, allocations: 1.805 MB / 399 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.4961, allocations: 165.2 kB / 399.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.4964, allocations: 20.73 kB / 399.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.4975, allocations: 66.75 kB / 399.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.4978, allocations: 78.06 kB / 399.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.498, allocations: 33.59 kB / 399.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.499, allocations: 436.4 kB / 399.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.499, allocations: 1.375 kB / 399.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002039/0.5011, allocations: 256 kB / 400 MB, free: 5.066 MB / 302.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.0003095/0.5014, allocations: 135.6 kB / 400.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.5054, allocations: 1.377 MB / 401.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.5054, allocations: 7.688 kB / 401.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.5076, allocations: 1.012 MB / 402.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.5093, allocations: 176.1 kB / 402.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.5154, allocations: 2.686 MB / 405.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.5161, allocations: 1.024 MB / 406.4 MB, free: 220 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.5166, allocations: 83.41 kB / 406.5 MB, free: 136 kB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5166, allocations: 0 / 406.5 MB, free: 136 kB / 302.1 MB Notification: Performance of Templates: time 0.04654/0.5632, allocations: 28.97 MB / 435.5 MB, free: 3.152 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.o] Error 1