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.001101/0.001101, allocations: 94.12 kB / 17.96 MB, free: 5.629 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.001537/0.001538, allocations: 183.2 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.4 MB / 225 MB, free: 13.06 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.000568/0.0005681, allocations: 12.28 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1714, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01473/0.1862, allocations: 10.32 MB / 339.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1991, allocations: 3.468 MB / 343.4 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004903/0.2041, allocations: 39.81 kB / 343.4 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01501/0.2192, allocations: 8.133 MB / 351.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.2319, allocations: 4.555 MB / 356.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004767/0.2368, allocations: 0.8233 MB / 357 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01464/0.2515, allocations: 5.093 MB / 362 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.255, allocations: 0.7613 MB / 362.8 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009553/0.2646, allocations: 2.532 MB / 365.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/0.2762, allocations: 4.877 MB / 370.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002112/0.2783, allocations: 140 kB / 370.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.2808, allocations: 184 kB / 370.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.2835, allocations: 1.736 MB / 372.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005118/0.2886, allocations: 2.59 MB / 374.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007864/0.2965, allocations: 5.441 MB / 380.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.2966, allocations: 3.938 kB / 380.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.03e-06/0.2966, allocations: 0 / 380.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004732/0.2971, allocations: 0 / 380.3 MB, free: 0.8477 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.3589/0.656, allocations: 6.608 MB / 386.9 MB, free: 49.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.264e-05/0.6561, allocations: 9.594 kB / 386.9 MB, free: 49.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.6598, allocations: 0.8442 MB / 387.8 MB, free: 48.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.6704, allocations: 3.154 MB / 390.9 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004812/0.671, allocations: 159 kB / 391.1 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.6723, allocations: 211.9 kB / 391.3 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008553/0.6808, allocations: 2.134 MB / 393.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/0.681, allocations: 6.656 kB / 393.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.6812, allocations: 89.44 kB / 393.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-05/0.6813, allocations: 51.22 kB / 393.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00493/0.6862, allocations: 1.955 MB / 395.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.7054, allocations: 8.973 MB / 404.5 MB, free: 38.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.7093, allocations: 2.349 MB / 406.8 MB, free: 36.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.7118, allocations: 1.386 MB / 408.2 MB, free: 35.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.7119, allocations: 44 kB / 408.3 MB, free: 35.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/0.7141, allocations: 1.179 MB / 409.4 MB, free: 34.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 4.128e-06/0.7141, allocations: 6.672 kB / 409.5 MB, free: 34.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.07695/0.791, allocations: 23.08 MB / 432.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03149/0.8226, allocations: 13.21 MB / 445.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02618/0.8489, allocations: 14.9 MB / 460.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001058/0.85, allocations: 81.7 kB / 460.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004701/0.8547, allocations: 3.731 MB / 464.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002523/0.8573, allocations: 1.207 MB / 465.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.8579, allocations: 264.8 kB / 465.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.858, allocations: 305.1 kB / 466.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/0.8613, allocations: 1.268 MB / 467.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.8644, allocations: 1.657 MB / 469.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/0.8707, allocations: 3.029 MB / 472.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.8707, allocations: 8 kB / 472.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01453/0.8852, allocations: 5.245 MB / 477.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.8853, allocations: 8 kB / 477.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.8854, allocations: 4 kB / 477.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/0.8915, allocations: 1.397 MB / 478.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.8949, allocations: 0.5553 MB / 479.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03745/0.9324, allocations: 21.95 MB / 0.4896 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005709/0.9382, allocations: 143.8 kB / 0.4897 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009049/0.9391, allocations: 112 kB / 0.4898 GB, free: 3.902 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 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.007787/0.9469, allocations: 2.188 MB / 0.492 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003376/0.9503, allocations: 0.8098 MB / 0.4928 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/0.9698, allocations: 5.287 MB / 0.4979 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-05/0.97, allocations: 39.94 kB / 0.498 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.057e-05/0.9701, allocations: 4 kB / 0.498 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/0.9702, allocations: 19.94 kB / 0.498 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03967/1.01, allocations: 11.13 MB / 0.5089 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/1.01, allocations: 4.094 kB / 0.5089 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/1.013, allocations: 471.4 kB / 0.5093 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006567/1.019, allocations: 1.35 MB / 0.5106 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007219/1.02, allocations: 75.97 kB / 0.5107 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4376/1.458, allocations: 20.03 MB / 0.5303 GB, free: 124.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03226/1.49, allocations: 11.59 MB / 0.5416 GB, free: 120.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.51, allocations: 7.018 MB / 0.5484 GB, free: 117.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003731/1.513, allocations: 0.7514 MB / 0.5492 GB, free: 117.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/1.515, allocations: 64.44 kB / 0.5492 GB, free: 117.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.518, allocations: 125 kB / 0.5493 GB, free: 117.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/1.52, allocations: 268.3 kB / 0.5496 GB, free: 117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.52, allocations: 99.67 kB / 0.5497 GB, free: 117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.01664/1.536, allocations: 11.12 MB / 0.5606 GB, free: 109.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.72e-07/1.537, allocations: 0 / 0.5606 GB, free: 109.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008795/1.545, allocations: 1.082 MB / 0.5616 GB, free: 108.8 MB / 414.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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002581/1.548, allocations: 0.4922 MB / 0.5621 GB, free: 108.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.56, allocations: 4.839 MB / 0.5668 GB, free: 103.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/1.56, allocations: 5.094 kB / 0.5668 GB, free: 103.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007443/1.568, allocations: 3.299 MB / 0.57 GB, free: 100.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009616/1.577, allocations: 0.5366 MB / 0.5706 GB, free: 99.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04047/1.618, allocations: 20.72 MB / 0.5908 GB, free: 79.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005701/1.624, allocations: 4.012 MB / 0.5947 GB, free: 75.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.626, allocations: 195.4 kB / 0.5949 GB, free: 74.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.164e-06/1.626, allocations: 0 / 0.5949 GB, free: 74.96 MB / 414.1 MB Notification: Performance of Templates: time 1.887/3.513, allocations: 0.5403 GB / 1.135 GB, free: 50 MB / 462.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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