Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001658/0.001658, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002117/0.002117, allocations: 221 kB / 23 MB, free: 4.918 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.002994/0.002994, allocations: 0.5895 MB / 313.8 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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 55.91 kB / 436.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 53.53 MB / 489.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002965/0.1133, allocations: 1.615 MB / 491.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002869/0.1135, allocations: 99.69 kB / 491.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.1136, allocations: 0 / 491.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.345e-05/0.1137, allocations: 11.86 kB / 491.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1138, allocations: 35.7 kB / 491.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.1139, allocations: 27.91 kB / 491.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.114, allocations: 103.5 kB / 491.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1142, allocations: 23.98 kB / 491.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1143, allocations: 43.84 kB / 491.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1144, allocations: 43.78 kB / 491.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1144, allocations: 8 kB / 491.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.1144, allocations: 8 kB / 491.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.1145, allocations: 19.92 kB / 491.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.1145, allocations: 43.8 kB / 492 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1147, allocations: 115.5 kB / 492.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1147, allocations: 0 / 492.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1147, allocations: 0 / 492.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1147, allocations: 0 / 492.1 MB, free: 8.582 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.0005312/0.1152, allocations: 322.2 kB / 492.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1153, allocations: 8.031 kB / 492.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1153, allocations: 16.84 kB / 492.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1155, allocations: 126.4 kB / 492.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1156, allocations: 8.562 kB / 492.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.1156, allocations: 12.33 kB / 492.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1158, allocations: 95.84 kB / 492.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1158, allocations: 0 / 492.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1158, allocations: 7.984 kB / 492.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1158, allocations: 4 kB / 492.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1159, allocations: 59.95 kB / 492.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.1165, allocations: 304.4 kB / 493 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1166, allocations: 98.48 kB / 493.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.1167, allocations: 41 kB / 493.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1167, allocations: 0 / 493.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1168, allocations: 34.56 kB / 493.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1168, allocations: 0 / 493.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001118/0.1179, allocations: 0.5347 MB / 493.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1179, allocations: 51.41 kB / 493.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.118, allocations: 121.8 kB / 493.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.118, allocations: 33.64 kB / 493.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1181, allocations: 99.98 kB / 494 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.1182, allocations: 67.45 kB / 494.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1182, allocations: 29.72 kB / 494.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1184, allocations: 322.8 kB / 494.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.1184, allocations: 35.98 kB / 494.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.1185, allocations: 62.5 kB / 494.5 MB, free: 5.898 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.0007129/0.1192, allocations: 250 kB / 494.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1192, allocations: 0 / 494.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002732/0.1195, allocations: 174.5 kB / 494.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1195, allocations: 4 kB / 494.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1195, allocations: 4.031 kB / 494.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.1197, allocations: 36.84 kB / 495 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1198, allocations: 27.92 kB / 495 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.1211, allocations: 1.481 MB / 496.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.1211, allocations: 4 kB / 496.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1212, allocations: 4.031 kB / 496.5 MB, free: 3.797 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.0001337/0.1213, allocations: 132.5 kB / 496.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1213, allocations: 11.95 kB / 496.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.1214, allocations: 16.77 kB / 496.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1214, allocations: 0 / 496.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1214, allocations: 4 kB / 496.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1214, allocations: 0 / 496.7 MB, free: 3.633 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.0006201/0.122, allocations: 433.3 kB / 497.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.122, allocations: 96 / 497.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1221, allocations: 24 kB / 497.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.898e-05/0.1222, allocations: 24.84 kB / 497.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1222, allocations: 7.938 kB / 497.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009979/0.1232, allocations: 1.248 MB / 498.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1232, allocations: 0 / 498.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1236, allocations: 307.3 kB / 498.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.1236, allocations: 19.94 kB / 498.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1236, allocations: 4 kB / 498.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.1237, allocations: 4 kB / 498.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1237, allocations: 23.86 kB / 498.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1237, allocations: 4 kB / 498.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.1238, allocations: 95.2 kB / 498.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1238, allocations: 0 / 498.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.1241, allocations: 32 kB / 498.9 MB, free: 1.242 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.0001108/0.1242, allocations: 101.7 kB / 499 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.1246, allocations: 226.5 kB / 499.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1246, allocations: 0 / 499.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.1248, allocations: 162.6 kB / 499.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1252, allocations: 23.98 kB / 499.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.1259, allocations: 420.6 kB / 499.8 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.524e-05/0.126, allocations: 88.62 kB / 499.9 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.126, allocations: 15.44 kB / 499.9 MB, free: 132 kB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.126, allocations: 4 kB / 499.9 MB, free: 128 kB / 350.1 MB Notification: Performance of Templates: time 0.004644/0.1306, allocations: 1.994 MB / 0.4901 GB, free: 14.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.402829448226839] Failed to read output from testmodel.py, exit status != 0: 0.13931311015039682 0.16292841000000002 0.043959434000000006 Calling exit ...