Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009085, allocations: 102.6 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.001127/0.001128, allocations: 173.5 kB / 16.58 MB, free: 6.348 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.549/1.549, allocations: 223.2 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.003623/0.003623, allocations: 0.5508 MB / 292.3 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 8 kB / 353.3 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 50.57 MB / 403.9 MB, free: 264 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.0008185/0.1318, allocations: 234.3 kB / 404.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000166/0.132, allocations: 31.91 kB / 404.1 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.1321, allocations: 0 / 404.1 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.3543, allocations: 0.6094 kB / 404.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.3544, allocations: 3.594 kB / 404.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3546, allocations: 0 / 404.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.3546, allocations: 17.17 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.3547, allocations: 3.516 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.3548, allocations: 11.25 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.3549, allocations: 9.656 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.3549, allocations: 1.125 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3549, allocations: 1.656 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.3549, allocations: 11.78 kB / 404.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.3549, allocations: 27.86 kB / 404.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.476e-05/0.355, allocations: 11.53 kB / 404.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.355, allocations: 5.328 kB / 404.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.355, allocations: 0 / 404.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3551, allocations: 0 / 404.2 MB, free: 9.77 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.0003578/0.3554, allocations: 327.3 kB / 404.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3555, allocations: 14.06 kB / 404.6 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3555, allocations: 10.95 kB / 404.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.3556, allocations: 163.3 kB / 404.7 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3556, allocations: 4.656 kB / 404.7 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3557, allocations: 5.594 kB / 404.8 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3558, allocations: 47.28 kB / 404.8 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3558, allocations: 5.359 kB / 404.8 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3558, allocations: 0 / 404.8 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3559, allocations: 0.9688 kB / 404.8 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.3559, allocations: 18.33 kB / 404.8 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.3562, allocations: 250.5 kB / 405.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3563, allocations: 54.19 kB / 405.1 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.3564, allocations: 17.86 kB / 405.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3564, allocations: 3.812 kB / 405.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.3564, allocations: 32.97 kB / 405.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3564, allocations: 4 kB / 405.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007599/0.3572, allocations: 0.4994 MB / 405.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3572, allocations: 53.05 kB / 405.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.3573, allocations: 99.73 kB / 405.8 MB, free: 8.223 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3573, allocations: 25.7 kB / 405.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.3574, allocations: 89.36 kB / 405.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.3574, allocations: 28.84 kB / 406 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.3574, allocations: 3.688 kB / 406 MB, free: 8.086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.3575, allocations: 314.3 kB / 406.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.3575, allocations: 14.39 kB / 406.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.3576, allocations: 34.5 kB / 406.3 MB, free: 7.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3578, allocations: 209.4 kB / 406.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3578, allocations: 0.6562 kB / 406.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001298/0.358, allocations: 88.81 kB / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.358, allocations: 5.781 kB / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.358, allocations: 1.438 kB / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.358, allocations: 1.688 kB / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3582, allocations: 19.34 kB / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3582, allocations: 0 / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.3582, allocations: 1.703 kB / 406.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3582, allocations: 3.375 kB / 406.7 MB, free: 7.516 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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.0001462/0.3584, allocations: 118.9 kB / 406.8 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.3584, allocations: 9.922 kB / 406.8 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.3585, allocations: 8.203 kB / 406.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3585, allocations: 7.672 kB / 406.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3585, allocations: 1.156 kB / 406.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3585, allocations: 0.75 kB / 406.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.3589, allocations: 376.6 kB / 407.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3589, allocations: 4.781 kB / 407.2 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.359, allocations: 13.48 kB / 407.2 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.3591, allocations: 22.38 kB / 407.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3591, allocations: 1.438 kB / 407.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.36, allocations: 1.283 MB / 408.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.36, allocations: 6.266 kB / 408.5 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3603, allocations: 229.2 kB / 408.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.3604, allocations: 80.25 kB / 408.8 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3604, allocations: 10.31 kB / 408.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.3604, allocations: 5.156 kB / 408.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3605, allocations: 6.312 kB / 408.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3605, allocations: 3.297 kB / 408.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.143e-05/0.3605, allocations: 82.92 kB / 408.9 MB, free: 5.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3605, allocations: 0 / 408.9 MB, free: 5.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3608, allocations: 10.91 kB / 408.9 MB, free: 5.395 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 0.0001078/0.3609, allocations: 100.1 kB / 409 MB, free: 5.305 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.3611, allocations: 38.56 kB / 409 MB, free: 5.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3611, allocations: 0 / 409 MB, free: 5.305 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.3613, allocations: 158.3 kB / 409.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3616, allocations: 6.297 kB / 409.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.3618, allocations: 211 kB / 409.4 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.362, allocations: 0.6896 MB / 410.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.362, allocations: 10.22 kB / 410.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3621, allocations: 0 / 410.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of Templates: time 0.002853/0.3649, allocations: 0.7727 MB / 410.9 MB, free: 4.254 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyStateCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyStateCalcHelperMain.o] Error 1