Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 175.2 kB / 16.58 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.0034/0.0034, allocations: 0.5545 MB / 292.3 MB, free: 1.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004161, allocations: 8 kB / 353.3 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 50.58 MB / 403.9 MB, free: 272 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.2435/0.371, allocations: 1.322 MB / 405.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003046/0.3714, allocations: 97.67 kB / 405.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.3714, allocations: 5.844 kB / 405.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.3715, allocations: 9.484 kB / 405.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3716, allocations: 31.16 kB / 405.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3718, allocations: 16.88 kB / 405.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3719, allocations: 100.7 kB / 405.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.372, allocations: 30 kB / 405.5 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.3721, allocations: 35.97 kB / 405.5 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.3722, allocations: 37.3 kB / 405.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.3723, allocations: 9.219 kB / 405.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.182e-05/0.3723, allocations: 4.219 kB / 405.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3723, allocations: 16.41 kB / 405.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.3724, allocations: 45.55 kB / 405.6 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3725, allocations: 86.73 kB / 405.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3726, allocations: 0 / 405.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3726, allocations: 0 / 405.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3726, allocations: 0 / 405.7 MB, free: 9.637 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004511/0.373, allocations: 379.2 kB / 406.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3731, allocations: 9.094 kB / 406.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3731, allocations: 14.33 kB / 406.1 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3733, allocations: 188.6 kB / 406.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3733, allocations: 6.875 kB / 406.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.3734, allocations: 11.8 kB / 406.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3736, allocations: 88.61 kB / 406.4 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3737, allocations: 1.469 kB / 406.4 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3737, allocations: 7.906 kB / 406.4 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3737, allocations: 10.83 kB / 406.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3739, allocations: 58.44 kB / 406.5 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.3745, allocations: 388.5 kB / 406.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3748, allocations: 101.3 kB / 406.9 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.3749, allocations: 40.69 kB / 407 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3749, allocations: 2.594 kB / 407 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.3749, allocations: 32.52 kB / 407 MB, free: 8.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.3749, allocations: 0 / 407 MB, free: 8.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001324/0.3763, allocations: 0.6915 MB / 407.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.3763, allocations: 53.53 kB / 407.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3764, allocations: 120.4 kB / 407.9 MB, free: 7.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3764, allocations: 25.7 kB / 407.9 MB, free: 7.879 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3765, allocations: 99.06 kB / 408 MB, free: 7.781 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.3766, allocations: 64.94 kB / 408.1 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.3766, allocations: 3.938 kB / 408.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.3766, allocations: 324.6 kB / 408.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.3767, allocations: 38.08 kB / 408.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.089e-05/0.3768, allocations: 62.78 kB / 408.5 MB, free: 7.352 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.3773, allocations: 272.5 kB / 408.8 MB, free: 7.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3773, allocations: 1.094 kB / 408.8 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002069/0.3775, allocations: 136.8 kB / 408.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3775, allocations: 6.531 kB / 408.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3775, allocations: 4.656 kB / 408.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3775, allocations: 1.469 kB / 408.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3777, allocations: 39.03 kB / 408.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3777, allocations: 5.344 kB / 408.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.3778, allocations: 5.094 kB / 409 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.3778, allocations: 9.812 kB / 409 MB, free: 7.039 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3779, allocations: 126.8 kB / 409.1 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.378, allocations: 13.66 kB / 409.1 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.378, allocations: 15.64 kB / 409.1 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.378, allocations: 6.078 kB / 409.1 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.378, allocations: 1.781 kB / 409.1 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.378, allocations: 0.5156 kB / 409.1 MB, free: 6.887 MB / 286.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 postOpt removeSimpleEquations (simulation): time 0.0006719/0.3787, allocations: 0.5982 MB / 409.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3787, allocations: 2.156 kB / 409.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3789, allocations: 23.91 kB / 409.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.379, allocations: 21.64 kB / 409.8 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.379, allocations: 5.125 kB / 409.8 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/0.3798, allocations: 1.271 MB / 411 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3798, allocations: 4.969 kB / 411 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.3801, allocations: 296.1 kB / 411.3 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.3802, allocations: 89.41 kB / 411.4 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3802, allocations: 2.781 kB / 411.4 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.3803, allocations: 10.19 kB / 411.4 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3803, allocations: 16.88 kB / 411.5 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3803, allocations: 4.984 kB / 411.5 MB, free: 4.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.3804, allocations: 101.6 kB / 411.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3804, allocations: 0 / 411.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3806, allocations: 28 kB / 411.6 MB, free: 4.578 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.081e-05/0.3807, allocations: 101.6 kB / 411.7 MB, free: 4.484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.381, allocations: 102 kB / 411.8 MB, free: 4.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.381, allocations: 0 / 411.8 MB, free: 4.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.3812, allocations: 166.3 kB / 411.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3815, allocations: 36.3 kB / 412 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.3822, allocations: 497.4 kB / 412.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.3824, allocations: 0.7027 MB / 413.2 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3824, allocations: 15.91 kB / 413.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3824, allocations: 0 / 413.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of Templates: time 0.00413/0.3865, allocations: 1.67 MB / 414.9 MB, free: 3.109 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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 OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyStateCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyStateCalcHelperMain.o] Error 1