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.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.001344/0.001344, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001529/0.001529, allocations: 215 kB / 22.99 MB, free: 4.945 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.003332/0.003332, allocations: 0.5792 MB / 313.8 MB, free: 2.414 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.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.002053/0.002053, allocations: 59.91 kB / 436.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.53 MB / 489.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003171/0.1117, allocations: 1.616 MB / 491.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002986/0.112, allocations: 91.69 kB / 491.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.1121, allocations: 4 kB / 491.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.758e-05/0.1121, allocations: 15.86 kB / 491.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.1122, allocations: 31.7 kB / 491.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1124, allocations: 23.97 kB / 491.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1125, allocations: 103.5 kB / 491.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1127, allocations: 23.98 kB / 491.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.1128, allocations: 51.84 kB / 491.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1129, allocations: 31.84 kB / 491.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1129, allocations: 8 kB / 491.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.1129, allocations: 12 kB / 491.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.1129, allocations: 15.92 kB / 491.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.113, allocations: 47.8 kB / 491.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1132, allocations: 107.5 kB / 492 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1132, allocations: 3.938 kB / 492 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1132, allocations: 0 / 492 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1132, allocations: 0 / 492 MB, free: 8.605 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.0005767/0.1138, allocations: 326.2 kB / 492.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1138, allocations: 12.03 kB / 492.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1139, allocations: 12.84 kB / 492.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.114, allocations: 122.5 kB / 492.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1141, allocations: 8.562 kB / 492.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1141, allocations: 16.33 kB / 492.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1143, allocations: 96.91 kB / 492.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1143, allocations: 0 / 492.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1143, allocations: 4 kB / 492.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1143, allocations: 8 kB / 492.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1145, allocations: 55.95 kB / 492.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.115, allocations: 312.3 kB / 493 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1153, allocations: 90.55 kB / 493.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.1153, allocations: 36.84 kB / 493.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1153, allocations: 4 kB / 493.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1154, allocations: 34.5 kB / 493.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1154, allocations: 0 / 493.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001207/0.1166, allocations: 0.5406 MB / 493.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1166, allocations: 59.34 kB / 493.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1168, allocations: 109.8 kB / 493.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1168, allocations: 29.7 kB / 493.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.1169, allocations: 104 kB / 494 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1169, allocations: 63.47 kB / 494.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.117, allocations: 37.7 kB / 494.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1171, allocations: 318.8 kB / 494.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.1172, allocations: 35.98 kB / 494.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.1173, allocations: 54.56 kB / 494.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1174, allocations: 114.4 kB / 494.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1174, allocations: 0 / 494.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002582/0.1177, allocations: 162 kB / 494.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1177, allocations: 4 kB / 494.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1177, allocations: 0 / 494.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.1178, allocations: 40.77 kB / 494.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.118, allocations: 20 kB / 494.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.1193, allocations: 1.489 MB / 496.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.1194, allocations: 4 kB / 496.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1194, allocations: 4.031 kB / 496.3 MB, free: 3.973 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 0.0001172/0.1195, allocations: 129.8 kB / 496.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.1195, allocations: 15.84 kB / 496.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.1196, allocations: 16.78 kB / 496.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1196, allocations: 64 / 496.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1196, allocations: 4 kB / 496.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1196, allocations: 0 / 496.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.1202, allocations: 429.4 kB / 496.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1202, allocations: 0 / 496.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1203, allocations: 31.92 kB / 496.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.072e-05/0.1204, allocations: 16.92 kB / 497 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1204, allocations: 12 kB / 497 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.1214, allocations: 1.252 MB / 498.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1214, allocations: 0 / 498.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.1218, allocations: 305.9 kB / 498.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.1219, allocations: 7.984 kB / 498.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1219, allocations: 8 kB / 498.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1219, allocations: 224 / 498.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.122, allocations: 19.92 kB / 498.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.122, allocations: 4 kB / 498.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.122, allocations: 91.27 kB / 498.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.122, allocations: 0 / 498.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.1224, allocations: 32 kB / 498.7 MB, free: 1.434 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.0001275/0.1225, allocations: 103.1 kB / 498.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.1229, allocations: 222.5 kB / 499 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1229, allocations: 8 kB / 499 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1231, allocations: 166.6 kB / 499.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1235, allocations: 19.98 kB / 499.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.1243, allocations: 424.5 kB / 499.6 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.1244, allocations: 88.62 kB / 499.7 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.1244, allocations: 15.44 kB / 499.7 MB, free: 316 kB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1244, allocations: 0 / 499.7 MB, free: 316 kB / 350.1 MB Notification: Performance of Templates: time 0.004284/0.1287, allocations: 2.005 MB / 0.4899 GB, free: 14.32 MB / 366.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: 7.401659436989576] Failed to read output from testmodel.py, exit status != 0: 0.13639195589348674 0.15157057100000002 0.035375638 Calling exit ...