Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.12 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.001527/0.001527, allocations: 176.5 kB / 16.58 MB, free: 6.871 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.544/1.544, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003442/0.003442, allocations: 0.5586 MB / 292.3 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 8 kB / 353.3 MB, free: 2.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 50.57 MB / 403.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.2379/0.3589, allocations: 252.2 kB / 404.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002276/0.3592, allocations: 20.8 kB / 404.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.3592, allocations: 0 / 404.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.3593, allocations: 1.125 kB / 404.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.969e-05/0.3593, allocations: 7.672 kB / 404.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.3594, allocations: 6.234 kB / 404.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.3595, allocations: 22.47 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.3596, allocations: 2.891 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.3596, allocations: 8.172 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.3597, allocations: 12.28 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3597, allocations: 1.5 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3597, allocations: 1.469 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.3597, allocations: 3.297 kB / 404.2 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3598, allocations: 33.83 kB / 404.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.608e-05/0.3598, allocations: 10.33 kB / 404.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3598, allocations: 0 / 404.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3598, allocations: 0 / 404.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3599, allocations: 4.906 kB / 404.2 MB, free: 9.762 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.0003513/0.3602, allocations: 325.2 kB / 404.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3603, allocations: 13.94 kB / 404.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3603, allocations: 10.89 kB / 404.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.046e-05/0.3604, allocations: 161.5 kB / 404.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3604, allocations: 0.8125 kB / 404.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.3605, allocations: 7.188 kB / 404.8 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3606, allocations: 44.2 kB / 404.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3606, allocations: 1.391 kB / 404.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3606, allocations: 0.5625 kB / 404.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3606, allocations: 0.9375 kB / 404.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.3607, allocations: 21.47 kB / 404.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.361, allocations: 253.7 kB / 405.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3612, allocations: 50.66 kB / 405.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.3612, allocations: 22.08 kB / 405.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3612, allocations: 0 / 405.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3613, allocations: 36.28 kB / 405.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3613, allocations: 0 / 405.2 MB, free: 8.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009179/0.3622, allocations: 0.5009 MB / 405.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3623, allocations: 60.2 kB / 405.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.3623, allocations: 99.66 kB / 405.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3623, allocations: 29.7 kB / 405.9 MB, free: 8.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.3624, allocations: 87.66 kB / 405.9 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.3624, allocations: 28.53 kB / 406 MB, free: 8.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.3624, allocations: 4.312 kB / 406 MB, free: 8.074 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.3625, allocations: 314.4 kB / 406.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.505e-05/0.3626, allocations: 13.56 kB / 406.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.3626, allocations: 35.52 kB / 406.3 MB, free: 7.742 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.363, allocations: 203.9 kB / 406.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.363, allocations: 0 / 406.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.3632, allocations: 101.4 kB / 406.6 MB, free: 7.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3632, allocations: 8.297 kB / 406.6 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3632, allocations: 0.5938 kB / 406.6 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.3634, allocations: 18.52 kB / 406.7 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.3635, allocations: 18.45 kB / 406.7 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000867/0.3643, allocations: 1.286 MB / 408 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.3644, allocations: 0.9062 kB / 408 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3644, allocations: 5.688 kB / 408 MB, free: 6.219 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 9.473e-05/0.3645, allocations: 124.2 kB / 408.1 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3645, allocations: 7.25 kB / 408.1 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3646, allocations: 8.75 kB / 408.1 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3646, allocations: 3.344 kB / 408.1 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3646, allocations: 3.312 kB / 408.1 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3646, allocations: 0.7031 kB / 408.1 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.365, allocations: 368.9 kB / 408.5 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.365, allocations: 0.9688 kB / 408.5 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.3651, allocations: 8.656 kB / 408.5 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-05/0.3652, allocations: 27.2 kB / 408.5 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3652, allocations: 2.734 kB / 408.5 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007281/0.3659, allocations: 1.292 MB / 409.8 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.3659, allocations: 2.219 kB / 409.8 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.3662, allocations: 232.6 kB / 410 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.3662, allocations: 80.09 kB / 410.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3662, allocations: 1.281 kB / 410.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.3663, allocations: 2.312 kB / 410.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.3663, allocations: 13.84 kB / 410.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3664, allocations: 4.812 kB / 410.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.3664, allocations: 82.38 kB / 410.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.3664, allocations: 0 / 410.2 MB, free: 4.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.3666, allocations: 16.45 kB / 410.2 MB, free: 4.105 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 9.888e-05/0.3667, allocations: 95.28 kB / 410.3 MB, free: 4.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3671, allocations: 162.8 kB / 410.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3671, allocations: 0 / 410.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.3673, allocations: 153.3 kB / 410.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.3675, allocations: 9.234 kB / 410.6 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3679, allocations: 213.4 kB / 410.8 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3681, allocations: 0.6895 MB / 411.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.3681, allocations: 10.41 kB / 411.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3681, allocations: 0 / 411.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of Templates: time 0.003294/0.3714, allocations: 0.9254 MB / 412.5 MB, free: 2.848 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.TwoMassesEquationsFullInitialInconsistentCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistentCalcHelperMain.o] Error 1