Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008699/0.0008702, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.0008684/0.000868, allocations: 187.8 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 224.6 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01065/0.1245, allocations: 9.629 MB / 338.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008232/0.1328, allocations: 3.411 MB / 342 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.1352, allocations: 35.88 kB / 342.1 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008126/0.1433, allocations: 8.11 MB / 350.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007335/0.1507, allocations: 4.536 MB / 354.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.1535, allocations: 0.5617 MB / 355.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009404/0.163, allocations: 4.441 MB / 359.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.1648, allocations: 0.6803 MB / 360.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005923/0.1708, allocations: 2.505 MB / 362.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008077/0.1789, allocations: 4.136 MB / 367 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.1801, allocations: 148 kB / 367.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1814, allocations: 172 kB / 367.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.1831, allocations: 1.732 MB / 369.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.1846, allocations: 1.075 MB / 370.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006279/0.1909, allocations: 5.448 MB / 375.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.191, allocations: 0 / 375.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.191, allocations: 0 / 375.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002703/0.1913, allocations: 0 / 375.6 MB, free: 5.309 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.2533/0.4446, allocations: 6.692 MB / 382.3 MB, free: 47.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.4447, allocations: 14.34 kB / 382.3 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.4479, allocations: 0.8452 MB / 383.2 MB, free: 46.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007198/0.4551, allocations: 2.776 MB / 385.9 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.4553, allocations: 157.3 kB / 386.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003854/0.4557, allocations: 205.8 kB / 386.3 MB, free: 45.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/0.4608, allocations: 2.126 MB / 388.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.4608, allocations: 2.312 kB / 388.4 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.461, allocations: 87.42 kB / 388.5 MB, free: 44.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/0.4611, allocations: 50.38 kB / 388.5 MB, free: 44.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004801/0.4659, allocations: 1.938 MB / 390.5 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01821/0.4841, allocations: 8.97 MB / 399.5 MB, free: 38.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/0.4882, allocations: 2.332 MB / 401.8 MB, free: 37.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/0.4908, allocations: 1.387 MB / 403.2 MB, free: 36.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.491, allocations: 41.62 kB / 403.2 MB, free: 36.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.493, allocations: 1.17 MB / 404.4 MB, free: 35.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 3.947e-06/0.4931, allocations: 0 / 404.4 MB, free: 35.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.05875/0.5518, allocations: 22.96 MB / 427.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02611/0.578, allocations: 13.18 MB / 440.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02018/0.5982, allocations: 14.91 MB / 455.4 MB, free: 248 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008463/0.5991, allocations: 81.7 kB / 455.5 MB, free: 160 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003734/0.6029, allocations: 3.73 MB / 459.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/0.6048, allocations: 1.21 MB / 460.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.605, allocations: 72 kB / 460.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.6053, allocations: 429.1 kB / 460.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.6079, allocations: 1.26 MB / 462.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.6107, allocations: 1.638 MB / 463.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.6135, allocations: 1.457 MB / 465.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.6135, allocations: 7.953 kB / 465.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0115/0.625, allocations: 5.22 MB / 470.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.6251, allocations: 4 kB / 470.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.6251, allocations: 8 kB / 470.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005205/0.6303, allocations: 1.391 MB / 471.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.6331, allocations: 0.5539 MB / 472.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02899/0.6621, allocations: 21.9 MB / 494.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004193/0.6663, allocations: 139.9 kB / 494.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004785/0.6668, allocations: 112 kB / 494.6 MB, free: 7.703 MB / 382.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.005285/0.6721, allocations: 2.184 MB / 496.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/0.674, allocations: 0.8137 MB / 497.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.6867, allocations: 5.24 MB / 0.4911 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.6868, allocations: 36 kB / 0.4911 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.6868, allocations: 4 kB / 0.4911 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/0.6869, allocations: 23.94 kB / 0.4911 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.7074, allocations: 11.12 MB / 0.502 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.7075, allocations: 0 / 0.502 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/0.7097, allocations: 475.4 kB / 0.5025 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005051/0.7148, allocations: 1.344 MB / 0.5038 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/0.7152, allocations: 71.97 kB / 0.5038 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/0.7386, allocations: 20.01 MB / 0.5234 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02388/0.7626, allocations: 11.55 MB / 0.5347 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2973/1.06, allocations: 6.966 MB / 0.5415 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002905/1.063, allocations: 0.7544 MB / 0.5422 GB, free: 139.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009694/1.064, allocations: 64.34 kB / 0.5423 GB, free: 139.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.066, allocations: 131.3 kB / 0.5424 GB, free: 139.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/1.067, allocations: 267.8 kB / 0.5426 GB, free: 139.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/1.067, allocations: 93.86 kB / 0.5427 GB, free: 139.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.02016/1.088, allocations: 11.14 MB / 0.5536 GB, free: 137.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.088, allocations: 0 / 0.5536 GB, free: 137.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005208/1.093, allocations: 1.084 MB / 0.5547 GB, free: 137.5 MB / 430.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.00124/1.094, allocations: 0.4971 MB / 0.5551 GB, free: 137.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007248/1.101, allocations: 4.811 MB / 0.5598 GB, free: 134.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.101, allocations: 0 / 0.5598 GB, free: 134.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004547/1.106, allocations: 3.294 MB / 0.5631 GB, free: 132.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.11, allocations: 0.5154 MB / 0.5636 GB, free: 132.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/1.134, allocations: 19.88 MB / 0.583 GB, free: 114.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003378/1.137, allocations: 4.005 MB / 0.5869 GB, free: 110.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.138, allocations: 191.4 kB / 0.5871 GB, free: 110.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/1.138, allocations: 0 / 0.5871 GB, free: 110.4 MB / 430.1 MB Notification: Performance of Templates: time 1.374/2.512, allocations: 0.5408 GB / 1.128 GB, free: 54.58 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStrokeCalcHelperMain.o] Error 1