Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.001543/0.001543, allocations: 179.2 kB / 17.84 MB, free: 6 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.518/1.518, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 4 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01098/0.1316, allocations: 9.729 MB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007848/0.1395, allocations: 3.495 MB / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.1417, allocations: 39.88 kB / 365.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2513/0.393, allocations: 8.103 MB / 373.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.4035, allocations: 4.541 MB / 377.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.4063, allocations: 0.5738 MB / 378.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01079/0.4171, allocations: 4.434 MB / 382.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.4189, allocations: 0.6842 MB / 383.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00756/0.4264, allocations: 2.512 MB / 386 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007522/0.434, allocations: 4.135 MB / 390.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008192/0.4348, allocations: 140.4 kB / 390.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.436, allocations: 174.8 kB / 390.4 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.4374, allocations: 1.728 MB / 392.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.4388, allocations: 1.074 MB / 393.2 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.4429, allocations: 5.449 MB / 398.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4429, allocations: 0 / 398.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4429, allocations: 0 / 398.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001919/0.4431, allocations: 4 kB / 398.7 MB, free: 2.812 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01088/0.454, allocations: 6.698 MB / 405.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4541, allocations: 12.03 kB / 405.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.4551, allocations: 0.8445 MB / 406.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/0.459, allocations: 2.783 MB / 409 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.4591, allocations: 153.5 kB / 409.2 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.4594, allocations: 204.3 kB / 409.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004111/0.4636, allocations: 2.122 MB / 411.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/0.4636, allocations: 0 / 411.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.4638, allocations: 91.95 kB / 411.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.4639, allocations: 48 kB / 411.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.4679, allocations: 1.942 MB / 413.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.485, allocations: 8.976 MB / 422.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.4892, allocations: 2.32 MB / 424.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.4919, allocations: 1.403 MB / 426.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.492, allocations: 41.52 kB / 426.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.4943, allocations: 1.177 MB / 427.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=242): time 4.298e-06/0.4943, allocations: 1.969 kB / 427.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=367): time 0.06751/0.5618, allocations: 22.95 MB / 450.4 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03218/0.5941, allocations: 13.17 MB / 463.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02757/0.6217, allocations: 14.92 MB / 478.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001018/0.6228, allocations: 85.7 kB / 478.6 MB, free: 3.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005042/0.6278, allocations: 3.729 MB / 482.3 MB, free: 92 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002352/0.6302, allocations: 1.211 MB / 483.6 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.6306, allocations: 68 kB / 483.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003415/0.6309, allocations: 429.1 kB / 484 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/0.634, allocations: 1.256 MB / 485.3 MB, free: 13.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.6372, allocations: 1.639 MB / 486.9 MB, free: 11.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/0.6404, allocations: 1.459 MB / 488.4 MB, free: 9.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.6404, allocations: 4 kB / 488.4 MB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01325/0.6536, allocations: 5.214 MB / 493.6 MB, free: 4.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.6537, allocations: 7.953 kB / 493.6 MB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/0.6538, allocations: 8 kB / 493.6 MB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005623/0.6594, allocations: 1.396 MB / 495 MB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.6627, allocations: 0.5461 MB / 495.6 MB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03159/0.6944, allocations: 21.9 MB / 0.5053 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.6987, allocations: 151.8 kB / 0.5055 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006985/0.6995, allocations: 108 kB / 0.5056 GB, free: 11.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 300 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 50} Notification: Performance of prepare postOptimizeDAE: time 0.005953/0.7054, allocations: 2.184 MB / 0.5077 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002245/0.7077, allocations: 0.8175 MB / 0.5085 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.7213, allocations: 5.245 MB / 0.5136 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-05/0.7214, allocations: 39.98 kB / 0.5137 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.7215, allocations: 4 kB / 0.5137 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.286e-05/0.7215, allocations: 19.94 kB / 0.5137 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/0.7484, allocations: 11.09 MB / 0.5245 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.7484, allocations: 0 / 0.5245 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/0.751, allocations: 475.5 kB / 0.525 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005491/0.7565, allocations: 1.354 MB / 0.5263 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006659/0.7572, allocations: 71.98 kB / 0.5264 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3128/1.07, allocations: 19.99 MB / 0.5459 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02573/1.096, allocations: 11.55 MB / 0.5572 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.112, allocations: 6.978 MB / 0.564 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.113, allocations: 0.7535 MB / 0.5647 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000799/1.114, allocations: 69.27 kB / 0.5648 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.116, allocations: 126.8 kB / 0.5649 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008247/1.117, allocations: 270.6 kB / 0.5652 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.117, allocations: 94.22 kB / 0.5653 GB, free: 125.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01553/1.133, allocations: 11.14 MB / 0.5762 GB, free: 120.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.01e-07/1.133, allocations: 0 / 0.5762 GB, free: 120.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006073/1.139, allocations: 1.081 MB / 0.5772 GB, free: 119.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {3 49,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001638/1.141, allocations: 0.4957 MB / 0.5777 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007706/1.148, allocations: 4.821 MB / 0.5824 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.148, allocations: 0 / 0.5824 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004886/1.153, allocations: 3.287 MB / 0.5856 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/1.158, allocations: 0.5227 MB / 0.5861 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02592/1.184, allocations: 19.87 MB / 0.6055 GB, free: 91.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003765/1.187, allocations: 4.01 MB / 0.6094 GB, free: 87.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.189, allocations: 195.4 kB / 0.6096 GB, free: 87.42 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/1.189, allocations: 0 / 0.6096 GB, free: 87.42 MB / 446.1 MB Notification: Performance of Templates: time 1.565/2.754, allocations: 0.5407 GB / 1.15 GB, free: 64.59 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o] Error 1