Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 100.5 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.0009423/0.0009421, allocations: 174.2 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.562/1.562, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002927/0.002927, allocations: 0.543 MB / 292.3 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 12 kB / 353.3 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 50.57 MB / 403.9 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.2542/0.3799, allocations: 229.4 kB / 404.1 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.3802, allocations: 28.56 kB / 404.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.3802, allocations: 3.828 kB / 404.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.3802, allocations: 0 / 404.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.3803, allocations: 1.125 kB / 404.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.3804, allocations: 7.031 kB / 404.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.3805, allocations: 16.14 kB / 404.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.381e-05/0.3805, allocations: 5.391 kB / 404.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.3806, allocations: 14.78 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.3807, allocations: 5.516 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3807, allocations: 1.438 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.3807, allocations: 1.25 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.3807, allocations: 6.734 kB / 404.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3808, allocations: 34.89 kB / 404.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.818e-05/0.3808, allocations: 10.52 kB / 404.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3808, allocations: 0.5 kB / 404.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3808, allocations: 0 / 404.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3808, allocations: 0.9375 kB / 404.2 MB, free: 9.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000351/0.3812, allocations: 326.3 kB / 404.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3812, allocations: 9.219 kB / 404.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.3813, allocations: 14.08 kB / 404.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.3814, allocations: 162.7 kB / 404.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3814, allocations: 4.156 kB / 404.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.3814, allocations: 3.312 kB / 404.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3816, allocations: 45.25 kB / 404.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3816, allocations: 3.938 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3816, allocations: 0.9375 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3816, allocations: 0.5938 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.3817, allocations: 18.34 kB / 404.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.382, allocations: 252.3 kB / 405.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3822, allocations: 50.11 kB / 405.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.3822, allocations: 22.03 kB / 405.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3822, allocations: 1.562 kB / 405.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3823, allocations: 31.69 kB / 405.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3823, allocations: 0 / 405.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008152/0.3831, allocations: 0.5092 MB / 405.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.3831, allocations: 52.94 kB / 405.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.3832, allocations: 98.16 kB / 405.8 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3832, allocations: 29.8 kB / 405.8 MB, free: 8.172 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.3833, allocations: 81.08 kB / 405.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3833, allocations: 36.61 kB / 406 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.3833, allocations: 0.7188 kB / 406 MB, free: 8.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.3834, allocations: 321.5 kB / 406.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.3835, allocations: 13.88 kB / 406.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.3835, allocations: 30.7 kB / 406.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.3837, allocations: 202 kB / 406.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3838, allocations: 4.688 kB / 406.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.3839, allocations: 105.6 kB / 406.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.384, allocations: 5 kB / 406.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.384, allocations: 1.188 kB / 406.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.3841, allocations: 25.64 kB / 406.7 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.3842, allocations: 11.61 kB / 406.7 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008275/0.385, allocations: 1.285 MB / 408 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.3851, allocations: 4.484 kB / 408 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3851, allocations: 2.188 kB / 408 MB, free: 6.207 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: x1 = 0.0 v1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3852, allocations: 120.4 kB / 408.1 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3853, allocations: 12.8 kB / 408.1 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.3853, allocations: 6.969 kB / 408.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3853, allocations: 2.688 kB / 408.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3853, allocations: 2 kB / 408.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3853, allocations: 1.844 kB / 408.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3857, allocations: 373 kB / 408.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3857, allocations: 1.094 kB / 408.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.3858, allocations: 8.719 kB / 408.5 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-05/0.3859, allocations: 31.36 kB / 408.5 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3859, allocations: 2.969 kB / 408.5 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006702/0.3865, allocations: 1.283 MB / 409.8 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3866, allocations: 5.75 kB / 409.8 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.3868, allocations: 229.6 kB / 410 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.3868, allocations: 80.97 kB / 410.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.3869, allocations: 8.453 kB / 410.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.3869, allocations: 0.7812 kB / 410.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.387, allocations: 7.297 kB / 410.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.387, allocations: 3.938 kB / 410.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.387, allocations: 86.97 kB / 410.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.387, allocations: 0 / 410.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3873, allocations: 16.56 kB / 410.2 MB, free: 4.098 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.39e-05/0.3874, allocations: 93.48 kB / 410.3 MB, free: 4.012 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.3876, allocations: 162.4 kB / 410.5 MB, free: 3.898 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3877, allocations: 4.969 kB / 410.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.3878, allocations: 147.8 kB / 410.6 MB, free: 3.777 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3881, allocations: 14.09 kB / 410.6 MB, free: 3.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3884, allocations: 206.4 kB / 410.8 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.3886, allocations: 0.6851 MB / 411.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.3886, allocations: 14.91 kB / 411.5 MB, free: 2.879 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3886, allocations: 0 / 411.5 MB, free: 2.879 MB / 286.1 MB Notification: Performance of Templates: time 0.003053/0.3917, allocations: 0.9226 MB / 412.5 MB, free: 2.84 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitialCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitialCalcHelperMain.o] Error 1