Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.001332/0.001332, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001694/0.001694, allocations: 208.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.004115/0.004115, allocations: 0.573 MB / 313 MB, free: 2.324 MB / 238.1 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.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.89 kB / 435.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 53.53 MB / 489.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002999/0.1099, allocations: 1.624 MB / 490.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.1102, allocations: 87.7 kB / 490.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.1103, allocations: 4 kB / 490.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.708e-05/0.1104, allocations: 19.84 kB / 490.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1105, allocations: 27.72 kB / 490.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1106, allocations: 27.91 kB / 490.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1108, allocations: 107.5 kB / 491 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1109, allocations: 19.98 kB / 491 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.111, allocations: 39.92 kB / 491.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.1111, allocations: 39.77 kB / 491.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1111, allocations: 12 kB / 491.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.678e-05/0.1111, allocations: 12 kB / 491.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.1111, allocations: 23.86 kB / 491.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.1112, allocations: 43.8 kB / 491.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1114, allocations: 107.5 kB / 491.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.1114, allocations: 4 kB / 491.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1114, allocations: 3.938 kB / 491.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1114, allocations: 0 / 491.3 MB, free: 8.562 MB / 350.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.0005121/0.1119, allocations: 314.2 kB / 491.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1119, allocations: 12.03 kB / 491.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.112, allocations: 16.84 kB / 491.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1121, allocations: 130.4 kB / 491.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1122, allocations: 4.562 kB / 491.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1122, allocations: 16.33 kB / 491.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1124, allocations: 93.97 kB / 491.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1124, allocations: 3.938 kB / 491.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1124, allocations: 4 kB / 491.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1124, allocations: 0 / 491.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1125, allocations: 59.97 kB / 492 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.1131, allocations: 308.3 kB / 492.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1132, allocations: 102.5 kB / 492.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.1133, allocations: 32.84 kB / 492.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1133, allocations: 4 kB / 492.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1134, allocations: 34.56 kB / 492.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1134, allocations: 0 / 492.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001116/0.1145, allocations: 0.5318 MB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1145, allocations: 51.41 kB / 493 MB, free: 6.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1146, allocations: 117.8 kB / 493.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1146, allocations: 25.7 kB / 493.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1147, allocations: 108 kB / 493.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.1148, allocations: 63.47 kB / 493.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1148, allocations: 37.7 kB / 493.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.115, allocations: 322.8 kB / 493.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.1151, allocations: 31.98 kB / 493.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.1152, allocations: 62.88 kB / 493.8 MB, free: 5.887 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/0.1159, allocations: 254 kB / 494 MB, free: 5.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1159, allocations: 0 / 494 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002884/0.1162, allocations: 170.3 kB / 494.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1162, allocations: 11.94 kB / 494.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1162, allocations: 0 / 494.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.1164, allocations: 32.83 kB / 494.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1165, allocations: 31.95 kB / 494.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.118, allocations: 1.481 MB / 495.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.118, allocations: 8 kB / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.118, allocations: 4 kB / 495.8 MB, free: 3.777 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. 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 0.0001425/0.1182, allocations: 131.5 kB / 495.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1182, allocations: 12.02 kB / 495.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.1182, allocations: 20.77 kB / 495.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1182, allocations: 0 / 495.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1183, allocations: 0 / 495.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1183, allocations: 0 / 495.9 MB, free: 3.613 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.1189, allocations: 429.3 kB / 496.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1189, allocations: 4 kB / 496.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.119, allocations: 23.98 kB / 496.4 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-05/0.1191, allocations: 20.94 kB / 496.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1191, allocations: 12.08 kB / 496.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009879/0.1201, allocations: 1.252 MB / 497.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1201, allocations: 0 / 497.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.1205, allocations: 304.2 kB / 497.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.1205, allocations: 8.203 kB / 498 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1205, allocations: 11.98 kB / 498 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1206, allocations: 4 kB / 498 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1207, allocations: 19.92 kB / 498 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1207, allocations: 4 kB / 498 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.1207, allocations: 95.2 kB / 498.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1207, allocations: 0 / 498.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.121, allocations: 32 kB / 498.1 MB, free: 1.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.000125/0.1212, allocations: 95.25 kB / 498.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.1216, allocations: 226.5 kB / 498.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1216, allocations: 4.281 kB / 498.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.1219, allocations: 166.6 kB / 498.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1222, allocations: 31.97 kB / 498.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.1229, allocations: 399 kB / 499 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.809e-05/0.123, allocations: 88.62 kB / 499.1 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.1231, allocations: 20.42 kB / 499.1 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.1231, allocations: 11.44 kB / 499.1 MB, free: 124 kB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1231, allocations: 3.938 kB / 499.1 MB, free: 120 kB / 350.1 MB Notification: Performance of Templates: time 0.004983/0.1281, allocations: 1.564 MB / 0.489 GB, free: 14.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.659139027819037] Failed to read output from testmodel.py, exit status != 0: 0.13578453660011292 0.151387468 0.036896174000000004 Calling exit ...