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.001079/0.001079, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001223/0.001223, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.9973/0.9973, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.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.002239/0.002239, allocations: 426.9 kB / 261.5 MB, free: 12.48 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 1.002e-06/1.002e-06, allocations: 0 / 331.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.612e-05, allocations: 2.312 kB / 331.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001516/0.001532, allocations: 0.5366 MB / 331.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.001659, allocations: 31.78 kB / 331.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.001685, allocations: 4 kB / 331.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.001697, allocations: 0 / 331.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.001724, allocations: 0 / 331.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.47e-05/0.001809, allocations: 7.922 kB / 331.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.703e-05/0.001856, allocations: 19.98 kB / 331.9 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.001889, allocations: 0 / 331.9 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.001923, allocations: 19.91 kB / 332 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.001971, allocations: 7.984 kB / 332 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.001983, allocations: 0 / 332 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.001991, allocations: 4 kB / 332 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.002004, allocations: 4 kB / 332 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.002023, allocations: 15.92 kB / 332 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.919e-05/0.002072, allocations: 11.97 kB / 332 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002074, allocations: 0 / 332 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002075, allocations: 0 / 332 MB, free: 3.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.002078, allocations: 0 / 332 MB, free: 3.438 MB / 298.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.0003028/0.002381, allocations: 356.7 kB / 332.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.002417, allocations: 15.98 kB / 332.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.002445, allocations: 0.9375 kB / 332.4 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.002532, allocations: 116.5 kB / 332.5 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.002544, allocations: 8.375 kB / 332.5 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.002562, allocations: 12.3 kB / 332.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.002628, allocations: 42.25 kB / 332.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.002638, allocations: 4.141 kB / 332.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.002644, allocations: 384 / 332.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.002649, allocations: 384 / 332.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.002674, allocations: 19.92 kB / 332.6 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.002892, allocations: 228.4 kB / 332.8 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.629e-05/0.002988, allocations: 55.03 kB / 332.9 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.003014, allocations: 15.81 kB / 332.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.003022, allocations: 8 kB / 332.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.003044, allocations: 37.39 kB / 332.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.003045, allocations: 0 / 332.9 MB, free: 2.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005022/0.003548, allocations: 355.7 kB / 333.3 MB, free: 2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.003574, allocations: 59.34 kB / 333.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.003647, allocations: 157.9 kB / 333.5 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.00366, allocations: 25.7 kB / 333.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.003703, allocations: 126.9 kB / 333.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.003736, allocations: 39.72 kB / 333.7 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.003773, allocations: 27.38 kB / 333.7 MB, free: 1.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.003909, allocations: 0.4884 MB / 334.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.003928, allocations: 8 kB / 334.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.003962, allocations: 35.23 kB / 334.2 MB, free: 0.9688 MB / 298.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.0001345/0.004097, allocations: 67.53 kB / 334.3 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.004098, allocations: 0 / 334.3 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001399/0.004238, allocations: 97.98 kB / 334.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.00425, allocations: 8 kB / 334.4 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.004253, allocations: 0 / 334.4 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.004359, allocations: 27.67 kB / 334.4 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.898e-05/0.004408, allocations: 16 kB / 334.4 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009441/0.005352, allocations: 1.725 MB / 336.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.005372, allocations: 0 / 336.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.005377, allocations: 4 kB / 336.2 MB, free: 14.89 MB / 314.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 9.167e-05/0.005469, allocations: 168.6 kB / 336.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.005495, allocations: 3.953 kB / 336.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.005515, allocations: 12.31 kB / 336.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.005518, allocations: 3.984 kB / 336.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.005522, allocations: 3.938 kB / 336.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005526, allocations: 0 / 336.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.005897, allocations: 360.6 kB / 336.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.005899, allocations: 0 / 336.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.005942, allocations: 8 kB / 336.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/0.006013, allocations: 27.7 kB / 336.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.00602, allocations: 4 kB / 336.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008812/0.006902, allocations: 1.725 MB / 338.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006903, allocations: 0 / 338.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.007124, allocations: 286.4 kB / 338.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.007133, allocations: 7.953 kB / 338.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.007145, allocations: 12.05 kB / 338.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.007204, allocations: 4.078 kB / 338.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.007226, allocations: 15.97 kB / 338.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.007232, allocations: 4 kB / 338.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.007268, allocations: 119.2 kB / 338.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007269, allocations: 0 / 338.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.007555, allocations: 16 kB / 338.9 MB, free: 11.91 MB / 314.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 7.725e-05/0.007633, allocations: 95.19 kB / 339 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.007883, allocations: 229.4 kB / 339.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007885, allocations: 0 / 339.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.008039, allocations: 201.5 kB / 339.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.00828, allocations: 4 kB / 339.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.008529, allocations: 185.6 kB / 339.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.008572, allocations: 63.34 kB / 339.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.008587, allocations: 0 / 339.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.008624, allocations: 74.39 kB / 339.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008624, allocations: 4 kB / 339.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Templates: time 0.00228/0.0109, allocations: 0.838 MB / 340.6 MB, free: 10.19 MB / 314.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.604891953058541]