Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.0008792, allocations: 99.59 kB / 15.71 MB, free: 452 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.001518/0.001518, allocations: 171.4 kB / 16.58 MB, free: 6.422 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.584/1.584, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003367/0.003367, allocations: 0.55 MB / 292.3 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 8 kB / 353.3 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 50.58 MB / 403.9 MB, free: 232 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.2509/0.3693, allocations: 1.317 MB / 405.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004847/0.3699, allocations: 96.39 kB / 405.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.37, allocations: 2 kB / 405.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.312e-05/0.3701, allocations: 9.5 kB / 405.3 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3703, allocations: 28.97 kB / 405.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3705, allocations: 18.36 kB / 405.3 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3708, allocations: 101.2 kB / 405.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3709, allocations: 30.66 kB / 405.5 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.371, allocations: 28.02 kB / 405.5 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3712, allocations: 43.06 kB / 405.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3712, allocations: 5.812 kB / 405.6 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.556e-05/0.3712, allocations: 8.5 kB / 405.6 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.3713, allocations: 12.86 kB / 405.6 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.3713, allocations: 42.7 kB / 405.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3715, allocations: 87.59 kB / 405.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3716, allocations: 1.156 kB / 405.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3716, allocations: 0 / 405.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3716, allocations: 0 / 405.7 MB, free: 9.625 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.0004773/0.3721, allocations: 385.5 kB / 406.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.3721, allocations: 8.969 kB / 406.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3722, allocations: 13.83 kB / 406.1 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3724, allocations: 187.3 kB / 406.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3724, allocations: 6.875 kB / 406.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.3725, allocations: 9.75 kB / 406.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3727, allocations: 96.25 kB / 406.4 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3727, allocations: 0.875 kB / 406.4 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3728, allocations: 3.5 kB / 406.4 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3728, allocations: 6.484 kB / 406.4 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3729, allocations: 60.95 kB / 406.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.3736, allocations: 388.8 kB / 406.8 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3739, allocations: 97.06 kB / 406.9 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.374, allocations: 40.31 kB / 407 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.374, allocations: 3.031 kB / 407 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3741, allocations: 35.88 kB / 407 MB, free: 8.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3741, allocations: 3.938 kB / 407 MB, free: 8.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001201/0.3753, allocations: 0.6907 MB / 407.7 MB, free: 8.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.3753, allocations: 54.16 kB / 407.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3754, allocations: 121.4 kB / 407.9 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3754, allocations: 29.7 kB / 407.9 MB, free: 7.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.3755, allocations: 95.17 kB / 408 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.3756, allocations: 60.19 kB / 408.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.3756, allocations: 4 kB / 408.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.3757, allocations: 321.1 kB / 408.4 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.3757, allocations: 37.69 kB / 408.4 MB, free: 7.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.3758, allocations: 64.22 kB / 408.5 MB, free: 7.328 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.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.3764, allocations: 307.9 kB / 408.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3764, allocations: 1.438 kB / 408.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002781/0.3767, allocations: 173.1 kB / 408.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3767, allocations: 5.875 kB / 409 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3767, allocations: 1.594 kB / 409 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.3769, allocations: 27.31 kB / 409 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.377, allocations: 31.33 kB / 409 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009333/0.3779, allocations: 1.44 MB / 410.5 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.378, allocations: 13.8 kB / 410.5 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.378, allocations: 4.125 kB / 410.5 MB, free: 5.539 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.s = $START.mass1.s. 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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.3781, allocations: 132.1 kB / 410.6 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.3781, allocations: 9.516 kB / 410.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.3782, allocations: 16.02 kB / 410.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3782, allocations: 2.125 kB / 410.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3782, allocations: 0.9688 kB / 410.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3782, allocations: 2.094 kB / 410.6 MB, free: 5.391 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.0006207/0.3788, allocations: 0.5888 MB / 411.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3788, allocations: 6.125 kB / 411.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.379, allocations: 31.55 kB / 411.3 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-05/0.3791, allocations: 21.55 kB / 411.3 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3791, allocations: 6.25 kB / 411.3 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006552/0.3797, allocations: 1.277 MB / 412.6 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3798, allocations: 1 kB / 412.6 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.3801, allocations: 309.8 kB / 412.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.3802, allocations: 84.05 kB / 412.9 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.3802, allocations: 7.281 kB / 413 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.3803, allocations: 1.094 kB / 413 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3803, allocations: 14.64 kB / 413 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.3803, allocations: 4 kB / 413 MB, free: 3.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.3804, allocations: 104.3 kB / 413.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3804, allocations: 0 / 413.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.3807, allocations: 31.88 kB / 413.1 MB, free: 3.082 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 8.781e-05/0.3808, allocations: 101 kB / 413.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.3812, allocations: 219.6 kB / 413.4 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3812, allocations: 0 / 413.4 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.3814, allocations: 175.2 kB / 413.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3817, allocations: 26.44 kB / 413.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.3824, allocations: 487.3 kB / 414.1 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3826, allocations: 0.7055 MB / 414.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3826, allocations: 18.09 kB / 414.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3826, allocations: 0 / 414.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of Templates: time 0.004629/0.3872, allocations: 1.949 MB / 416.8 MB, free: 1.473 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitialCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitialCalcHelperMain.o] Error 1