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.001098/0.001098, allocations: 101.4 kB / 17.96 MB, free: 5.621 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.001567/0.001567, allocations: 176.1 kB / 18.86 MB, free: 4.777 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.167/2.167, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005373/0.0005372, allocations: 15.98 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.156, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0171/0.1731, allocations: 10.32 MB / 339.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1838, allocations: 3.161 MB / 343.1 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.1874, allocations: 35.88 kB / 343.1 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.1901, allocations: 0.5872 MB / 343.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.1956, allocations: 0.7686 MB / 344.5 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.1994, allocations: 0.8234 MB / 345.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007592/0.207, allocations: 3.201 MB / 348.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.2094, allocations: 0.7688 MB / 349.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.2124, allocations: 1.043 MB / 350.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.2158, allocations: 1.307 MB / 351.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.2171, allocations: 140 kB / 351.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.2189, allocations: 168 kB / 351.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.2204, allocations: 0.5016 MB / 352.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.2232, allocations: 1.276 MB / 353.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.2273, allocations: 3.338 MB / 357 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.2274, allocations: 0 / 357 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.2274, allocations: 0 / 357 MB, free: 8.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.558e-05/0.2275, allocations: 0 / 357 MB, free: 8.176 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.007496/0.235, allocations: 2.714 MB / 359.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.235, allocations: 8.031 kB / 359.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006635/0.2357, allocations: 293.4 kB / 360.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.2386, allocations: 1.391 MB / 361.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.2388, allocations: 160.5 kB / 361.6 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.2392, allocations: 204.1 kB / 361.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.2441, allocations: 1.92 MB / 363.7 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/0.2442, allocations: 7.906 kB / 363.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.2445, allocations: 87.94 kB / 363.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.781e-05/0.2446, allocations: 52 kB / 363.9 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005057/0.2497, allocations: 1.968 MB / 365.8 MB, free: 15.18 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.01597/0.2657, allocations: 7.488 MB / 373.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/0.2699, allocations: 2.297 MB / 375.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.2729, allocations: 1.382 MB / 377 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.2731, allocations: 45.95 kB / 377 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.2732, allocations: 56.56 kB / 377.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 5.641e-06/0.2732, allocations: 0 / 377.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.4111/0.6843, allocations: 17.92 MB / 395 MB, free: 45.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.6844, allocations: 85.36 kB / 395.1 MB, free: 45.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/0.6876, allocations: 1.845 MB / 396.9 MB, free: 45.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004114/0.688, allocations: 81.45 kB / 397 MB, free: 45.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.6889, allocations: 0.9753 MB / 398 MB, free: 44.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.6901, allocations: 1.153 MB / 399.2 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.6904, allocations: 248.6 kB / 399.4 MB, free: 43.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.6905, allocations: 305.1 kB / 399.7 MB, free: 42.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.6932, allocations: 1.246 MB / 400.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.6957, allocations: 1.555 MB / 402.5 MB, free: 41.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/0.701, allocations: 2.926 MB / 405.4 MB, free: 38.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.701, allocations: 4 kB / 405.4 MB, free: 38.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01013/0.7111, allocations: 4.511 MB / 409.9 MB, free: 33.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.7113, allocations: 7.938 kB / 409.9 MB, free: 33.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.7113, allocations: 4 kB / 409.9 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005182/0.7165, allocations: 1.331 MB / 411.3 MB, free: 32.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.7196, allocations: 0.5383 MB / 411.8 MB, free: 32.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.7433, allocations: 18.91 MB / 430.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.7471, allocations: 131.9 kB / 430.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004884/0.7477, allocations: 103.3 kB / 431 MB, free: 11.97 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.002057/0.7497, allocations: 0.5719 MB / 431.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008376/0.7506, allocations: 256.9 kB / 431.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.7607, allocations: 4.458 MB / 436.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.7607, allocations: 35.94 kB / 436.3 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.7607, allocations: 4 kB / 436.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.042e-05/0.7608, allocations: 19.55 kB / 436.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.7792, allocations: 8.457 MB / 444.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.7793, allocations: 4 kB / 444.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/0.7818, allocations: 471.6 kB / 445.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005403/0.7872, allocations: 1.276 MB / 446.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.7875, allocations: 67.98 kB / 446.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02646/0.814, allocations: 17.52 MB / 464.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.814, allocations: 7.938 kB / 464.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/0.8332, allocations: 6.18 MB / 470.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/0.8356, allocations: 0.6226 MB / 470.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009882/0.8366, allocations: 60.19 kB / 470.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/0.8395, allocations: 127.9 kB / 471.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/0.8406, allocations: 254.7 kB / 471.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003442/0.841, allocations: 83.98 kB / 471.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003253/0.8443, allocations: 1.294 MB / 472.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8443, allocations: 3.938 kB / 472.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005492/0.8498, allocations: 0.8633 MB / 473.6 MB, free: 120 kB / 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.001749/0.8515, allocations: 454.3 kB / 474 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01117/0.8627, allocations: 4.482 MB / 478.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.8628, allocations: 0 / 478.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006865/0.8697, allocations: 3.006 MB / 481.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/0.8745, allocations: 353.9 kB / 481.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.8933, allocations: 7.035 MB / 488.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002847/0.8962, allocations: 1.706 MB / 490.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/0.8985, allocations: 179.4 kB / 490.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.775e-06/0.8986, allocations: 0 / 490.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of Templates: time 0.4433/1.342, allocations: 118.2 MB / 0.5946 GB, free: 75.85 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