Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 91.09 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.001583/0.001583, allocations: 175.9 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.529/1.529, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 8.781 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007218/0.1368, allocations: 5.583 MB / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.1416, allocations: 2.066 MB / 359.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.1424, allocations: 19.94 kB / 359.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.1432, allocations: 298.6 kB / 359.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1443, allocations: 425.4 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008855/0.1452, allocations: 274.8 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1469, allocations: 1.362 MB / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.1475, allocations: 374.4 kB / 362.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.1481, allocations: 454.2 kB / 362.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.1487, allocations: 0.5368 MB / 363.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1489, allocations: 60 kB / 363.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1491, allocations: 88 kB / 363.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1493, allocations: 211.1 kB / 363.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.1496, allocations: 249.1 kB / 363.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.151, allocations: 1.531 MB / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.1511, allocations: 4 kB / 365.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1511, allocations: 4 kB / 365.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.1511, allocations: 0 / 365.4 MB, free: 6.438 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002859/0.154, allocations: 1.383 MB / 366.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.154, allocations: 12.03 kB / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.1543, allocations: 126.5 kB / 366.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.1554, allocations: 0.6764 MB / 367.6 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.1556, allocations: 82 kB / 367.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1557, allocations: 92 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.1578, allocations: 1.036 MB / 368.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.1579, allocations: 3.953 kB / 368.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.158, allocations: 40 kB / 368.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.158, allocations: 28 kB / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.1601, allocations: 0.9382 MB / 369.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2655/0.4257, allocations: 3.68 MB / 373.5 MB, free: 22.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.4293, allocations: 1.093 MB / 374.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008936/0.4303, allocations: 399.1 kB / 374.9 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.8e-05/0.4303, allocations: 11.62 kB / 374.9 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4304, allocations: 44.92 kB / 375 MB, free: 22.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.878e-06/0.4304, allocations: 0 / 375 MB, free: 22.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005291/0.4357, allocations: 1.974 MB / 377 MB, free: 22.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.4358, allocations: 84.89 kB / 377 MB, free: 22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4372, allocations: 0.9729 MB / 378 MB, free: 21.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.4373, allocations: 36.67 kB / 378.1 MB, free: 21.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.4377, allocations: 0.5253 MB / 378.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.4379, allocations: 234 kB / 378.8 MB, free: 20.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.438, allocations: 14.62 kB / 378.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4381, allocations: 339.4 kB / 379.2 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009942/0.4391, allocations: 381.3 kB / 379.5 MB, free: 20.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.4402, allocations: 0.5567 MB / 380.1 MB, free: 20.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.4413, allocations: 420.2 kB / 380.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4413, allocations: 3.5 kB / 380.5 MB, free: 20.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002447/0.4437, allocations: 1.09 MB / 381.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4438, allocations: 8.578 kB / 381.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4438, allocations: 6.031 kB / 381.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/0.4438, allocations: 10.53 kB / 381.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4451, allocations: 323.6 kB / 381.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.4452, allocations: 14.31 kB / 381.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.446, allocations: 93.5 kB / 382 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.4461, allocations: 33.56 kB / 382.1 MB, free: 19.57 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.0004868/0.4466, allocations: 287 kB / 382.3 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.4468, allocations: 102.4 kB / 382.4 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.4478, allocations: 425.8 kB / 382.9 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4478, allocations: 10.53 kB / 382.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.4478, allocations: 1.125 kB / 382.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4479, allocations: 4.531 kB / 382.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/0.4521, allocations: 2.353 MB / 385.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4521, allocations: 5.594 kB / 385.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008787/0.453, allocations: 236.3 kB / 385.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.453, allocations: 10.62 kB / 385.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.4531, allocations: 23.48 kB / 385.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.4531, allocations: 13.78 kB / 385.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.4531, allocations: 14.22 kB / 385.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.4547, allocations: 1.064 MB / 386.6 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.455, allocations: 189.4 kB / 386.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4551, allocations: 20.36 kB / 386.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.4557, allocations: 63.27 kB / 386.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.4558, allocations: 70.64 kB / 386.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.4559, allocations: 27.64 kB / 387 MB, free: 16.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.4569, allocations: 0.6744 MB / 387.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4569, allocations: 0 / 387.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009223/0.4578, allocations: 207.7 kB / 387.8 MB, free: 16.52 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.0008759/0.4587, allocations: 387.4 kB / 388.2 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.4604, allocations: 0.8086 MB / 389 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4604, allocations: 4.625 kB / 389 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.4612, allocations: 387.5 kB / 389.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4623, allocations: 194.3 kB / 389.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.4657, allocations: 2.316 MB / 391.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.4663, allocations: 1.019 MB / 392.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.4666, allocations: 85.27 kB / 393 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4666, allocations: 0 / 393 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Templates: time 0.0173/0.4839, allocations: 12.78 MB / 405.8 MB, free: 2.035 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviourCalcHelperMain.o] Error 1