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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002121, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007058/0.0007058, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000824/0.00153, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9953/0.9953, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/1.111, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 429.3 kB / 244.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.003221, allocations: 0.5691 MB / 245 MB, free: 13.87 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.877e-05, allocations: 6.312 kB / 246.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001464/0.001483, allocations: 0.583 MB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 8.091e-05/0.001564, allocations: 19.89 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.001587, allocations: 0 / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.001597, allocations: 3.938 kB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.219e-05/0.00161, allocations: 0 / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.198e-05/0.001682, allocations: 15.92 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.001769, allocations: 15.98 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.00182, allocations: 11.98 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.001891, allocations: 11.92 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.001966, allocations: 4 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.001993, allocations: 0 / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.002004, allocations: 4 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.002017, allocations: 0 / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.002046, allocations: 11.94 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.949e-05/0.002125, allocations: 14.97 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.115e-05/0.002146, allocations: 4 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002147, allocations: 0 / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.002166, allocations: 0 / 246.9 MB, free: 11.88 MB / 250.7 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.0004354/0.002601, allocations: 248.5 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.002647, allocations: 8.031 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.002687, allocations: 8.938 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.002789, allocations: 101.8 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.002805, allocations: 4.375 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.002834, allocations: 4.375 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.002926, allocations: 42.23 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.002937, allocations: 4.188 kB / 247.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.002945, allocations: 384 / 247.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.002951, allocations: 384 / 247.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.002987, allocations: 15.88 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.003243, allocations: 152.3 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.003358, allocations: 54.55 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.003387, allocations: 12.86 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.003396, allocations: 0 / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.003429, allocations: 30.56 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.003431, allocations: 4 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007633/0.004194, allocations: 355.8 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.004232, allocations: 55.41 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.004308, allocations: 106.7 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.004321, allocations: 25.7 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.004351, allocations: 84.14 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.004391, allocations: 31.72 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.004433, allocations: 21.72 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.00454, allocations: 318.8 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.004558, allocations: 8 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.004593, allocations: 29.7 kB / 248.6 MB, free: 9.984 MB / 250.7 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.0001747/0.004768, allocations: 77.86 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.004769, allocations: 0 / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001372/0.004906, allocations: 75.28 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.004921, allocations: 7.984 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.004927, allocations: 4 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.005047, allocations: 16.86 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.005108, allocations: 15.98 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008571/0.005965, allocations: 1.182 MB / 250 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.005983, allocations: 0 / 250 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005988, allocations: 0 / 250 MB, free: 8.504 MB / 250.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.006077, allocations: 121.8 kB / 250.1 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.006103, allocations: 11.92 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.006127, allocations: 8.125 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.00613, allocations: 4 kB / 250.1 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.006134, allocations: 7.969 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.006138, allocations: 0 / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.006501, allocations: 262 kB / 250.4 MB, free: 8.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.006504, allocations: 0 / 250.4 MB, free: 8.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.006559, allocations: 11.98 kB / 250.4 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.006568, allocations: 7.984 kB / 250.4 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.236e-05/0.006641, allocations: 16.84 kB / 250.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.006647, allocations: 4 kB / 250.4 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007437/0.007391, allocations: 1.179 MB / 251.6 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.007393, allocations: 0 / 251.6 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.007578, allocations: 210.9 kB / 251.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.007587, allocations: 0 / 251.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.007645, allocations: 3.938 kB / 251.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.007667, allocations: 11.92 kB / 251.8 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.007674, allocations: 8 kB / 251.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.431e-05/0.007688, allocations: 16.89 kB / 251.9 MB, free: 6.465 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007688, allocations: 4 kB / 251.9 MB, free: 6.461 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.007878, allocations: 8 kB / 251.9 MB, free: 6.453 MB / 250.7 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.27e-05/0.007961, allocations: 76.42 kB / 252 MB, free: 6.367 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.008194, allocations: 159.4 kB / 252.1 MB, free: 6.195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.008199, allocations: 0 / 252.1 MB, free: 6.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.008352, allocations: 151.6 kB / 252.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.008503, allocations: 8 kB / 252.3 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.008793, allocations: 170.9 kB / 252.4 MB, free: 5.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.571e-05/0.008838, allocations: 59.34 kB / 252.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.00886, allocations: 4 kB / 252.5 MB, free: 5.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.008902, allocations: 55.36 kB / 252.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008903, allocations: 0 / 252.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of Templates: time 0.003023/0.01193, allocations: 0.8219 MB / 253.4 MB, free: 4.922 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.641483566723764]