Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 106.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002916/0.002916, allocations: 0.5803 MB / 303.2 MB, free: 9.199 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.89 kB / 422 MB, free: 24.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08409, allocations: 52.29 MB / 474.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002772/0.08686, allocations: 1.65 MB / 475.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.08713, allocations: 99.61 kB / 476 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.08718, allocations: 7.938 kB / 476 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.08723, allocations: 11.86 kB / 476 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.08733, allocations: 35.7 kB / 476.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.08746, allocations: 23.97 kB / 476.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.08759, allocations: 107.5 kB / 476.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.08771, allocations: 27.95 kB / 476.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.08778, allocations: 43.86 kB / 476.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.08788, allocations: 43.78 kB / 476.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.0879, allocations: 8 kB / 476.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.08792, allocations: 12 kB / 476.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.08795, allocations: 15.92 kB / 476.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.08801, allocations: 59.78 kB / 476.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.08816, allocations: 107.5 kB / 476.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.08816, allocations: 0 / 476.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08816, allocations: 0 / 476.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.08817, allocations: 0 / 476.5 MB, free: 2.184 MB / 334.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.0005502/0.08872, allocations: 399.3 kB / 476.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.08875, allocations: 11.89 kB / 476.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.08879, allocations: 12.89 kB / 476.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.08899, allocations: 196.2 kB / 477.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.08902, allocations: 8.562 kB / 477.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.08905, allocations: 12.38 kB / 477.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.08926, allocations: 88.05 kB / 477.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.08927, allocations: 3.984 kB / 477.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.08929, allocations: 8 kB / 477.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.08929, allocations: 0 / 477.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.08941, allocations: 55.97 kB / 477.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.08999, allocations: 388.7 kB / 477.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.09018, allocations: 98.42 kB / 477.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.09024, allocations: 36.84 kB / 477.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.09026, allocations: 7.938 kB / 477.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.09028, allocations: 30.56 kB / 477.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.09028, allocations: 4 kB / 477.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001131/0.09141, allocations: 0.6875 MB / 478.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.09145, allocations: 51.41 kB / 478.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.09156, allocations: 122.9 kB / 478.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.09158, allocations: 29.7 kB / 478.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.09165, allocations: 108.2 kB / 478.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.0917, allocations: 59.48 kB / 478.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.09176, allocations: 37.7 kB / 478.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.09189, allocations: 318.8 kB / 479.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.09196, allocations: 35.98 kB / 479.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.09203, allocations: 54.5 kB / 479.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.09219, allocations: 110.1 kB / 479.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.09219, allocations: 0 / 479.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002904/0.09248, allocations: 170.2 kB / 479.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.0925, allocations: 8 kB / 479.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0925, allocations: 0 / 479.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.09263, allocations: 32.83 kB / 479.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.09275, allocations: 23.98 kB / 479.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.09411, allocations: 1.611 MB / 481.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.09416, allocations: 11.92 kB / 481.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.09417, allocations: 8.031 kB / 481.3 MB, free: 12.92 MB / 350.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.09427, allocations: 121.8 kB / 481.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.0943, allocations: 7.953 kB / 481.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.09433, allocations: 16.84 kB / 481.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.09434, allocations: 0 / 481.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.09434, allocations: 0 / 481.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.09434, allocations: 4.062 kB / 481.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.09503, allocations: 0.5478 MB / 482 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.09503, allocations: 0 / 482 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.09516, allocations: 31.92 kB / 482 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.09523, allocations: 24.94 kB / 482 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.09524, allocations: 7.938 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.0963, allocations: 1.371 MB / 483.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0963, allocations: 0 / 483.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.09668, allocations: 310.8 kB / 483.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.09673, allocations: 85.09 kB / 483.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.09675, allocations: 4 kB / 483.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.09683, allocations: 4 kB / 483.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.09686, allocations: 15.92 kB / 483.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.09687, allocations: 4 kB / 483.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.094e-05/0.09694, allocations: 99.64 kB / 483.9 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09694, allocations: 0 / 483.9 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.09725, allocations: 36.06 kB / 484 MB, free: 9.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.09735, allocations: 99.19 kB / 484.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.09775, allocations: 218.5 kB / 484.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09775, allocations: 0 / 484.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.09795, allocations: 161.1 kB / 484.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.09832, allocations: 25.19 kB / 484.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.09898, allocations: 405.6 kB / 484.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.09933, allocations: 0.7084 MB / 485.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.09937, allocations: 9.078 kB / 485.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.09941, allocations: 15.44 kB / 485.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09941, allocations: 0 / 485.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Templates: time 0.004336/0.1037, allocations: 1.404 MB / 487 MB, free: 6.895 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.259070149622858]