Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008859, 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.0008762/0.0008763, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.527/1.527, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.004029/0.004029, allocations: 0.5618 MB / 292.3 MB, free: 1.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 11.94 kB / 353.3 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 50.59 MB / 403.9 MB, free: 220 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2394/0.3589, allocations: 1.329 MB / 405.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003175/0.3592, allocations: 92.05 kB / 405.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.3593, allocations: 1.5 kB / 405.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.3594, allocations: 9.719 kB / 405.3 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3595, allocations: 30.55 kB / 405.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.3596, allocations: 15.86 kB / 405.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3598, allocations: 105.7 kB / 405.5 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.36, allocations: 31.11 kB / 405.5 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.36, allocations: 31.12 kB / 405.5 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3602, allocations: 44.03 kB / 405.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.3602, allocations: 5.031 kB / 405.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.667e-05/0.3602, allocations: 4.875 kB / 405.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.3603, allocations: 11.25 kB / 405.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.3603, allocations: 42.39 kB / 405.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.3605, allocations: 84.3 kB / 405.7 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3605, allocations: 9.5 kB / 405.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3605, allocations: 0 / 405.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3605, allocations: 0 / 405.7 MB, free: 9.633 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.0004778/0.361, allocations: 379.8 kB / 406.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.361, allocations: 9.75 kB / 406.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3611, allocations: 14.48 kB / 406.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.3613, allocations: 185.6 kB / 406.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3613, allocations: 11.91 kB / 406.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3613, allocations: 10.23 kB / 406.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3616, allocations: 92.91 kB / 406.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3616, allocations: 0.6875 kB / 406.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3616, allocations: 3.219 kB / 406.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3617, allocations: 6.828 kB / 406.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3618, allocations: 56.44 kB / 406.5 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.3624, allocations: 396.5 kB / 406.9 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.3627, allocations: 96.91 kB / 407 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.3627, allocations: 36.33 kB / 407 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.3628, allocations: 2.266 kB / 407 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3628, allocations: 36.81 kB / 407 MB, free: 8.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3628, allocations: 0.625 kB / 407 MB, free: 8.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00118/0.364, allocations: 0.6881 MB / 407.7 MB, free: 8.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.364, allocations: 53.22 kB / 407.8 MB, free: 7.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3641, allocations: 120.5 kB / 407.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3642, allocations: 30.92 kB / 407.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.3642, allocations: 99.2 kB / 408 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.3643, allocations: 60.38 kB / 408.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.3643, allocations: 1.125 kB / 408.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.3644, allocations: 320.2 kB / 408.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.3644, allocations: 34.77 kB / 408.4 MB, free: 7.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.3645, allocations: 59.31 kB / 408.5 MB, free: 7.34 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.0006412/0.3652, allocations: 318.4 kB / 408.8 MB, free: 7.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3652, allocations: 1.125 kB / 408.8 MB, free: 7.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003125/0.3655, allocations: 173.1 kB / 409 MB, free: 7.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3655, allocations: 6.125 kB / 409 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3656, allocations: 4.969 kB / 409 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.3657, allocations: 28.09 kB / 409 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3658, allocations: 23.56 kB / 409 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.3668, allocations: 1.446 MB / 410.5 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.3669, allocations: 9.453 kB / 410.5 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3669, allocations: 2.875 kB / 410.5 MB, free: 5.543 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 0.0001159/0.367, allocations: 136.7 kB / 410.6 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.3671, allocations: 9.094 kB / 410.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.3671, allocations: 18.84 kB / 410.6 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3671, allocations: 3.812 kB / 410.6 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3672, allocations: 0 / 410.6 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3672, allocations: 2.266 kB / 410.6 MB, free: 5.387 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.000724/0.3679, allocations: 0.5899 MB / 411.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3679, allocations: 5.656 kB / 411.2 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3681, allocations: 28.89 kB / 411.3 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.018e-05/0.3681, allocations: 21.17 kB / 411.3 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3682, allocations: 5.406 kB / 411.3 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.3689, allocations: 1.27 MB / 412.6 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3689, allocations: 1.969 kB / 412.6 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.3692, allocations: 311.2 kB / 412.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.3693, allocations: 85.52 kB / 413 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3693, allocations: 10.03 kB / 413 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.3694, allocations: 1.156 kB / 413 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3694, allocations: 17.45 kB / 413 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3694, allocations: 3.969 kB / 413 MB, free: 3.172 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.3695, allocations: 91.95 kB / 413.1 MB, free: 3.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3695, allocations: 3.938 kB / 413.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.3698, allocations: 34.97 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 0.0001044/0.3699, allocations: 101.5 kB / 413.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.3704, allocations: 223.7 kB / 413.4 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3704, allocations: 1.406 kB / 413.4 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3705, allocations: 170.3 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.0003352/0.3709, allocations: 24.19 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.0007133/0.3716, allocations: 496.3 kB / 414.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3718, allocations: 0.7054 MB / 414.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3719, allocations: 14.69 kB / 414.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3719, allocations: 0 / 414.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of Templates: time 0.005042/0.3769, allocations: 1.951 MB / 416.8 MB, free: 1.469 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistentCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistentCalcHelperMain.o] Error 1