Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001711/0.001711, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.204/2.204, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001539/0.001538, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1384, allocations: 46.62 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0147/0.1532, allocations: 10.89 MB / 338.1 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008574/0.1618, allocations: 3.176 MB / 341.3 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.1655, allocations: 39.88 kB / 341.4 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.1683, allocations: 0.5911 MB / 341.9 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.1738, allocations: 0.7725 MB / 342.7 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.1775, allocations: 0.8195 MB / 343.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007206/0.1847, allocations: 3.203 MB / 346.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.1872, allocations: 0.7688 MB / 347.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/0.191, allocations: 1.097 MB / 348.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003333/0.1944, allocations: 1.385 MB / 350 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.1959, allocations: 168 kB / 350.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.198, allocations: 196 kB / 350.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.1994, allocations: 0.5407 MB / 350.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003905/0.2033, allocations: 1.298 MB / 352.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0065/0.2099, allocations: 3.421 MB / 355.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.2099, allocations: 0 / 355.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.2099, allocations: 0 / 355.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.2102, allocations: 3.938 kB / 355.6 MB, free: 8.391 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.01508/0.2253, allocations: 3.123 MB / 358.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.323e-05/0.2254, allocations: 8.031 kB / 358.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/0.2264, allocations: 293.4 kB / 359 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/0.23, allocations: 1.391 MB / 360.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.2302, allocations: 156.5 kB / 360.6 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/0.2306, allocations: 212 kB / 360.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00512/0.2357, allocations: 1.889 MB / 362.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.2358, allocations: 3.984 kB / 362.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.236, allocations: 84 kB / 362.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.2361, allocations: 52 kB / 362.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004557/0.2406, allocations: 1.906 MB / 364.7 MB, free: 15.09 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.2606, allocations: 7.437 MB / 372.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005523/0.2661, allocations: 2.277 MB / 374.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003755/0.2699, allocations: 1.374 MB / 375.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.2702, allocations: 37.97 kB / 375.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.2703, allocations: 56.56 kB / 375.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 9.327e-06/0.2703, allocations: 0 / 375.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.4442/0.7146, allocations: 17.58 MB / 393.5 MB, free: 46.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.7147, allocations: 85.73 kB / 393.6 MB, free: 46.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.7197, allocations: 1.845 MB / 395.4 MB, free: 45.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007699/0.7205, allocations: 81.55 kB / 395.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.7216, allocations: 0.979 MB / 396.5 MB, free: 44.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/0.7234, allocations: 1.153 MB / 397.6 MB, free: 43.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001972/0.7254, allocations: 0.4899 MB / 398.1 MB, free: 43.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.7256, allocations: 301.1 kB / 398.4 MB, free: 43.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003525/0.7291, allocations: 1.216 MB / 399.6 MB, free: 42.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003575/0.7327, allocations: 1.531 MB / 401.1 MB, free: 41.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/0.74, allocations: 2.875 MB / 404 MB, free: 39.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-05/0.74, allocations: 4 kB / 404 MB, free: 39.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01335/0.7534, allocations: 4.447 MB / 408.5 MB, free: 34.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.7535, allocations: 15.92 kB / 408.5 MB, free: 34.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.7536, allocations: 4 kB / 408.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00611/0.7597, allocations: 1.324 MB / 409.8 MB, free: 33.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/0.7632, allocations: 0.5305 MB / 410.3 MB, free: 33.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02723/0.7905, allocations: 18.88 MB / 429.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/0.7941, allocations: 115.9 kB / 429.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007531/0.7949, allocations: 99.98 kB / 429.4 MB, free: 13.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (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 (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.002303/0.7973, allocations: 0.5912 MB / 430 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.7984, allocations: 252.9 kB / 430.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.8096, allocations: 4.39 MB / 434.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.345e-05/0.8097, allocations: 35.94 kB / 434.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/0.8097, allocations: 4.609 kB / 434.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-05/0.8098, allocations: 15.94 kB / 434.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/0.8301, allocations: 8.402 MB / 443.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.8302, allocations: 4.312 kB / 443.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/0.8331, allocations: 465.4 kB / 443.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006238/0.8393, allocations: 1.258 MB / 444.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006183/0.84, allocations: 67.98 kB / 444.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02944/0.8695, allocations: 17.5 MB / 462.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.8695, allocations: 7.938 kB / 462.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/0.8877, allocations: 6.092 MB / 468.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/0.8904, allocations: 0.6109 MB / 469.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/0.8917, allocations: 67.98 kB / 469.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/0.8948, allocations: 103.9 kB / 469.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/0.8961, allocations: 254.8 kB / 469.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004444/0.8966, allocations: 91.98 kB / 469.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003515/0.9001, allocations: 1.29 MB / 470.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9002, allocations: 0 / 470.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005237/0.9054, allocations: 0.8661 MB / 471.8 MB, free: 1.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001668/0.9071, allocations: 448.1 kB / 472.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.01086/0.918, allocations: 4.432 MB / 476.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.9181, allocations: 2.844 kB / 476.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007462/0.9256, allocations: 2.973 MB / 479.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/0.9305, allocations: 361.8 kB / 480 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.95, allocations: 6.846 MB / 486.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/0.9534, allocations: 1.706 MB / 488.5 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/0.9555, allocations: 179.4 kB / 488.7 MB, free: 260 kB / 366.1 MB Notification: Performance of SimCode: time 1.663e-06/0.9556, allocations: 0 / 488.7 MB, free: 260 kB / 366.1 MB Notification: Performance of Templates: time 0.4458/1.401, allocations: 118.6 MB / 0.593 GB, free: 78.56 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.ComparisonQuasiStationaryCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationaryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationaryCalcHelperMain.o] Error 1