Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009167/0.0009169, allocations: 93.03 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.635/1.635, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 7.984 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01243/0.1648, allocations: 9.919 MB / 368.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.1728, allocations: 3.698 MB / 372.4 MB, free: 468 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1753, allocations: 43.88 kB / 372.5 MB, free: 424 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2675/0.4428, allocations: 8.117 MB / 380.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00843/0.4513, allocations: 4.588 MB / 385.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.454, allocations: 0.5786 MB / 385.7 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009359/0.4634, allocations: 4.491 MB / 390.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.465, allocations: 0.699 MB / 390.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006148/0.4711, allocations: 2.537 MB / 393.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006612/0.4778, allocations: 4.164 MB / 397.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.4789, allocations: 144 kB / 397.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4801, allocations: 179 kB / 397.9 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.4815, allocations: 1.742 MB / 399.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.4831, allocations: 1.095 MB / 400.8 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.4889, allocations: 5.529 MB / 406.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4889, allocations: 0 / 406.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4889, allocations: 0 / 406.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002427/0.4892, allocations: 0 / 406.3 MB, free: 9.707 MB / 318.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.01256/0.5018, allocations: 6.781 MB / 413.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5018, allocations: 8.031 kB / 413.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.5037, allocations: 0.9068 MB / 414 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.5079, allocations: 2.811 MB / 416.8 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.5081, allocations: 159.1 kB / 417 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.5084, allocations: 206.8 kB / 417.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.5126, allocations: 2.136 MB / 419.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.5127, allocations: 0 / 419.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.5129, allocations: 87.98 kB / 419.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.5129, allocations: 52 kB / 419.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.5168, allocations: 1.946 MB / 421.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/0.5324, allocations: 9.055 MB / 430.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.5362, allocations: 2.336 MB / 432.8 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.5388, allocations: 1.385 MB / 434.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.5389, allocations: 46.03 kB / 434.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002298/0.5413, allocations: 1.171 MB / 435.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=242): time 4.077e-06/0.5413, allocations: 2.188 kB / 435.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=367): time 0.06944/0.6107, allocations: 23.15 MB / 458.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03019/0.641, allocations: 13.26 MB / 471.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01978/0.6608, allocations: 15.03 MB / 486.8 MB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008366/0.6617, allocations: 85.7 kB / 486.9 MB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003561/0.6652, allocations: 3.772 MB / 490.7 MB, free: 5.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001718/0.667, allocations: 1.207 MB / 491.9 MB, free: 4.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.6672, allocations: 68 kB / 492 MB, free: 4.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.6675, allocations: 437 kB / 492.4 MB, free: 4.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.67, allocations: 1.268 MB / 493.6 MB, free: 2.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.6728, allocations: 1.65 MB / 495.3 MB, free: 1.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.6755, allocations: 1.465 MB / 496.8 MB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.6756, allocations: 4 kB / 496.8 MB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01136/0.6869, allocations: 5.254 MB / 0.4903 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.687, allocations: 8 kB / 0.4903 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.687, allocations: 4 kB / 0.4903 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005199/0.6922, allocations: 1.417 MB / 0.4916 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.6947, allocations: 0.55 MB / 0.4922 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02697/0.7217, allocations: 21.97 MB / 0.5136 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.7253, allocations: 144 kB / 0.5138 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.7256, allocations: 115.9 kB / 0.5139 GB, free: 1 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.004216/0.7298, allocations: 2.184 MB / 0.516 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.731, allocations: 0.833 MB / 0.5168 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.7422, allocations: 5.263 MB / 0.522 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.7423, allocations: 36 kB / 0.522 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.7423, allocations: 8 kB / 0.522 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/0.7423, allocations: 15.94 kB / 0.522 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3137/1.056, allocations: 11.17 MB / 0.5329 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.056, allocations: 2.375 kB / 0.5329 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.059, allocations: 470.9 kB / 0.5334 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00553/1.064, allocations: 1.352 MB / 0.5347 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004445/1.065, allocations: 74.52 kB / 0.5348 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02509/1.09, allocations: 20.06 MB / 0.5544 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02486/1.115, allocations: 11.64 MB / 0.5657 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.129, allocations: 7.007 MB / 0.5726 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.131, allocations: 0.768 MB / 0.5733 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.132, allocations: 63.12 kB / 0.5734 GB, free: 112.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.134, allocations: 129.2 kB / 0.5735 GB, free: 112.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008335/1.135, allocations: 259.3 kB / 0.5738 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.135, allocations: 96.56 kB / 0.5739 GB, free: 112.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01315/1.149, allocations: 11.22 MB / 0.5848 GB, free: 105.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.149, allocations: 7.844 kB / 0.5848 GB, free: 105.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005339/1.154, allocations: 1.086 MB / 0.5859 GB, free: 104.8 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.001393/1.155, allocations: 0.5039 MB / 0.5864 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007108/1.162, allocations: 4.836 MB / 0.5911 GB, free: 99.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.162, allocations: 0 / 0.5911 GB, free: 99.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004346/1.167, allocations: 3.292 MB / 0.5943 GB, free: 96.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.17, allocations: 0.525 MB / 0.5948 GB, free: 95.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.195, allocations: 20 MB / 0.6144 GB, free: 75.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.199, allocations: 4.042 MB / 0.6183 GB, free: 71.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.2, allocations: 195.4 kB / 0.6185 GB, free: 71.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/1.2, allocations: 0 / 0.6185 GB, free: 71.26 MB / 446.1 MB Notification: Performance of Templates: time 1.675/2.875, allocations: 0.5449 GB / 1.163 GB, free: 62.3 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o] Error 1