Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009312/0.0009309, allocations: 96.41 kB / 17.64 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 198 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 4 kB / 307.3 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007119/0.1443, allocations: 5.519 MB / 364.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.1488, allocations: 1.792 MB / 366.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.1498, allocations: 19.94 kB / 366.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.1503, allocations: 166.8 kB / 366.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1514, allocations: 325.5 kB / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008751/0.1522, allocations: 207.8 kB / 366.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.1545, allocations: 1.319 MB / 368.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007106/0.1552, allocations: 373.6 kB / 368.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1563, allocations: 426.4 kB / 368.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.1569, allocations: 0.49 MB / 369.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1571, allocations: 60 kB / 369.5 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1573, allocations: 64 kB / 369.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1574, allocations: 191.2 kB / 369.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.1577, allocations: 245.1 kB / 369.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1593, allocations: 1.461 MB / 371.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1594, allocations: 0 / 371.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1594, allocations: 0 / 371.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.1594, allocations: 0 / 371.4 MB, free: 1.246 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.302/0.4614, allocations: 1.298 MB / 372.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4614, allocations: 9.734 kB / 372.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.4623, allocations: 146 kB / 372.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.4639, allocations: 0.6463 MB / 373.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.4641, allocations: 79.97 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.4643, allocations: 106.8 kB / 373.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.467, allocations: 1.019 MB / 374.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.4671, allocations: 7.109 kB / 374.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.4672, allocations: 40.61 kB / 374.7 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.4673, allocations: 22.78 kB / 374.8 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.4701, allocations: 0.9101 MB / 375.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007413/0.4775, allocations: 3.353 MB / 379 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.4795, allocations: 0.8286 MB / 379.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4808, allocations: 0.4913 MB / 380.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.202e-05/0.4808, allocations: 15.8 kB / 380.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.4809, allocations: 38.56 kB / 380.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 5.07e-06/0.4809, allocations: 1.188 kB / 380.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.01176/0.4927, allocations: 4.438 MB / 384.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.4928, allocations: 94.14 kB / 384.9 MB, free: 13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.4941, allocations: 0.6047 MB / 385.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.4942, allocations: 45.86 kB / 385.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.4946, allocations: 423.8 kB / 386 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.495, allocations: 396.8 kB / 386.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.4951, allocations: 20.44 kB / 386.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.4953, allocations: 396.1 kB / 386.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.4965, allocations: 400.4 kB / 387.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.4977, allocations: 0.5242 MB / 387.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4987, allocations: 449.7 kB / 388.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4987, allocations: 0 / 388.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00331/0.5021, allocations: 1.223 MB / 389.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.5021, allocations: 13.92 kB / 389.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5022, allocations: 3.469 kB / 389.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/0.5029, allocations: 132.9 kB / 389.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.5046, allocations: 263 kB / 389.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.5092, allocations: 4.52 MB / 394.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5106, allocations: 64.67 kB / 394.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5107, allocations: 39.92 kB / 394.4 MB, free: 6.062 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.0009206/0.5117, allocations: 276.2 kB / 394.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.512, allocations: 91.06 kB / 394.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.5145, allocations: 0.7846 MB / 395.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.5145, allocations: 15.22 kB / 395.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/0.5146, allocations: 2.75 kB / 395.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.5146, allocations: 22.06 kB / 395.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.5208, allocations: 2.693 MB / 398.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5208, allocations: 1.156 kB / 398.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.5221, allocations: 211.5 kB / 398.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006025/0.5227, allocations: 161.6 kB / 398.6 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.5228, allocations: 22.67 kB / 398.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.5282, allocations: 5.567 MB / 404.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5282, allocations: 0.625 kB / 404.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/0.533, allocations: 1.794 MB / 406 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.5337, allocations: 169.5 kB / 406.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.5338, allocations: 26.94 kB / 406.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.5346, allocations: 62.2 kB / 406.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.5349, allocations: 80.7 kB / 406.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.535, allocations: 32.22 kB / 406.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009019/0.5359, allocations: 440.7 kB / 406.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.536, allocations: 0 / 406.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001588/0.5376, allocations: 255.9 kB / 407.1 MB, free: 12.06 MB / 318.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.0002659/0.5378, allocations: 132.9 kB / 407.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.5407, allocations: 1.375 MB / 408.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5407, allocations: 0 / 408.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.5426, allocations: 1.014 MB / 409.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.5443, allocations: 184.4 kB / 409.8 MB, free: 9.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.5511, allocations: 2.693 MB / 412.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.5522, allocations: 1.02 MB / 413.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/0.5528, allocations: 83.41 kB / 413.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of SimCode: time 2.635e-06/0.5528, allocations: 0 / 413.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of Templates: time 0.04621/0.5991, allocations: 28.97 MB / 442.5 MB, free: 8.441 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStrokeCalcHelperMain.o] Error 1