Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 102.7 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.001712/0.001713, allocations: 173.5 kB / 16.58 MB, free: 6.863 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.57/1.57, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003114/0.003114, allocations: 0.5463 MB / 292.3 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 12 kB / 353.3 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 50.57 MB / 403.9 MB, free: 256 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.000608/0.109, allocations: 242.2 kB / 404.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.211/0.3201, allocations: 17.7 kB / 404.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.3202, allocations: 0.9688 kB / 404.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.3202, allocations: 0 / 404.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.3203, allocations: 0 / 404.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.3204, allocations: 11.94 kB / 404.1 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.3205, allocations: 14.64 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.298e-05/0.3205, allocations: 1.688 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.3206, allocations: 12.16 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.3206, allocations: 7.312 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3207, allocations: 1.562 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-06/0.3207, allocations: 1.094 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.3207, allocations: 8.953 kB / 404.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.3207, allocations: 29.64 kB / 404.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.614e-05/0.3208, allocations: 14.7 kB / 404.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3208, allocations: 3.828 kB / 404.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3208, allocations: 0.5938 kB / 404.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.3208, allocations: 0 / 404.2 MB, free: 9.75 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.000289/0.3211, allocations: 329.8 kB / 404.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3212, allocations: 9.516 kB / 404.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.3212, allocations: 11.02 kB / 404.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.081e-05/0.3213, allocations: 162.3 kB / 404.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3213, allocations: 4.75 kB / 404.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3213, allocations: 6.141 kB / 404.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3214, allocations: 41.89 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3215, allocations: 0.6562 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3215, allocations: 4.062 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3215, allocations: 0.7188 kB / 404.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.3215, allocations: 15.58 kB / 404.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3219, allocations: 297.8 kB / 405.1 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.322, allocations: 46.98 kB / 405.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.3221, allocations: 10.66 kB / 405.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.3221, allocations: 0.6875 kB / 405.2 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3221, allocations: 35.55 kB / 405.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3221, allocations: 0 / 405.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003744/0.3225, allocations: 169.7 kB / 405.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.3225, allocations: 53.12 kB / 405.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.3226, allocations: 100 kB / 405.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3226, allocations: 25.7 kB / 405.5 MB, free: 8.445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.3226, allocations: 85.3 kB / 405.6 MB, free: 8.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3227, allocations: 11.14 kB / 405.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.3227, allocations: 3.875 kB / 405.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.3227, allocations: 313.8 kB / 405.9 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.3227, allocations: 13.11 kB / 405.9 MB, free: 8.039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.3228, allocations: 24.81 kB / 406 MB, free: 8.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.3228, allocations: 13.91 kB / 406 MB, free: 8.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3228, allocations: 0 / 406 MB, free: 8.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001266/0.323, allocations: 81.81 kB / 406.1 MB, free: 7.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.323, allocations: 5.281 kB / 406.1 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.323, allocations: 1.891 kB / 406.1 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.3231, allocations: 19.38 kB / 406.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.3232, allocations: 6.641 kB / 406.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008307/0.3241, allocations: 1.249 MB / 407.3 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.3241, allocations: 5.375 kB / 407.4 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.3241, allocations: 1.531 kB / 407.4 MB, free: 6.691 MB / 286.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 6.613e-05/0.3242, allocations: 116.6 kB / 407.5 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3242, allocations: 10.2 kB / 407.5 MB, free: 6.562 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.3242, allocations: 7.5 kB / 407.5 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3242, allocations: 0.5938 kB / 407.5 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3242, allocations: 6.188 kB / 407.5 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3243, allocations: 3.172 kB / 407.5 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3244, allocations: 163.2 kB / 407.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3244, allocations: 2.172 kB / 407.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.3244, allocations: 3.641 kB / 407.7 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-05/0.3245, allocations: 15.59 kB / 407.7 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3245, allocations: 1.297 kB / 407.7 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006078/0.3251, allocations: 1.25 MB / 408.9 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3252, allocations: 0 / 408.9 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.3253, allocations: 183.1 kB / 409.1 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.3254, allocations: 81.78 kB / 409.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.3254, allocations: 1.031 kB / 409.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.3254, allocations: 3.766 kB / 409.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.3255, allocations: 3.781 kB / 409.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3255, allocations: 1.422 kB / 409.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.439e-05/0.3255, allocations: 78.81 kB / 409.3 MB, free: 4.773 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3255, allocations: 0.5938 kB / 409.3 MB, free: 4.773 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3257, allocations: 8.812 kB / 409.3 MB, free: 4.773 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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 7.785e-05/0.3258, allocations: 96.38 kB / 409.4 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3261, allocations: 143.1 kB / 409.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3261, allocations: 0 / 409.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3262, allocations: 131 kB / 409.6 MB, free: 4.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.3264, allocations: 6.641 kB / 409.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3267, allocations: 176.7 kB / 409.8 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3269, allocations: 0.6818 MB / 410.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.3269, allocations: 8.562 kB / 410.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3269, allocations: 1.062 kB / 410.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of Templates: time 0.002961/0.3299, allocations: 0.8215 MB / 411.3 MB, free: 3.559 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitialCalcHelperMain.o OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitialCalcHelperMain.o] Error 1