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.001254/0.001254, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001355/0.001355, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002655/0.002655, allocations: 0.5767 MB / 313.8 MB, free: 2.516 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.001909/0.001909, allocations: 71.89 kB / 436.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09646, allocations: 53.52 MB / 489.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.00381/0.1003, allocations: 1.659 MB / 491.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.1006, allocations: 95.67 kB / 491.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.1007, allocations: 11.88 kB / 491.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.292e-05/0.1008, allocations: 11.86 kB / 491.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1009, allocations: 35.7 kB / 491.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.101, allocations: 23.97 kB / 491.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1012, allocations: 107.5 kB / 491.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1014, allocations: 23.97 kB / 491.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.1015, allocations: 43.86 kB / 492 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1016, allocations: 43.84 kB / 492 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1016, allocations: 11.94 kB / 492 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.457e-05/0.1016, allocations: 8 kB / 492 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1017, allocations: 19.92 kB / 492 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.1017, allocations: 55.72 kB / 492.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1019, allocations: 103.5 kB / 492.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1019, allocations: 0 / 492.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1019, allocations: 4 kB / 492.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.102, allocations: 0 / 492.2 MB, free: 8.707 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.0006057/0.1026, allocations: 318.2 kB / 492.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1026, allocations: 8.031 kB / 492.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1026, allocations: 16.84 kB / 492.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1029, allocations: 130.4 kB / 492.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1029, allocations: 12.55 kB / 492.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.1029, allocations: 20.31 kB / 492.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.1032, allocations: 91.67 kB / 492.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1032, allocations: 0 / 492.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1032, allocations: 11.92 kB / 492.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1032, allocations: 4 kB / 492.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1034, allocations: 55.97 kB / 492.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.1041, allocations: 351.8 kB / 493.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1044, allocations: 102.5 kB / 493.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.1045, allocations: 36.84 kB / 493.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1045, allocations: 0 / 493.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1045, allocations: 30.56 kB / 493.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1045, allocations: 0 / 493.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001466/0.106, allocations: 0.5455 MB / 493.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.106, allocations: 55.41 kB / 494 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1062, allocations: 125.8 kB / 494.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1062, allocations: 25.7 kB / 494.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1063, allocations: 104.3 kB / 494.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.1064, allocations: 63.41 kB / 494.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.1065, allocations: 33.72 kB / 494.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1067, allocations: 322.8 kB / 494.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.1068, allocations: 31.98 kB / 494.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1069, allocations: 62.5 kB / 494.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1071, allocations: 102.2 kB / 494.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1071, allocations: 4 kB / 494.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003952/0.1075, allocations: 162.3 kB / 495 MB, free: 5.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1075, allocations: 7.984 kB / 495 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1075, allocations: 0 / 495 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.1077, allocations: 28.84 kB / 495 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1079, allocations: 24 kB / 495 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.1096, allocations: 1.516 MB / 496.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.1097, allocations: 4 kB / 496.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1097, allocations: 12.05 kB / 496.6 MB, free: 3.957 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.0001544/0.1098, allocations: 133.7 kB / 496.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.1099, allocations: 11.97 kB / 496.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1099, allocations: 16.78 kB / 496.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1099, allocations: 4 kB / 496.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1099, allocations: 0 / 496.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.11, allocations: 0 / 496.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.1109, allocations: 0.5119 MB / 497.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1109, allocations: 0 / 497.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.1111, allocations: 31.92 kB / 497.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.95e-05/0.1112, allocations: 16.86 kB / 497.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1112, allocations: 7.938 kB / 497.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.1126, allocations: 1.279 MB / 498.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.1126, allocations: 4.031 kB / 498.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.1131, allocations: 298.8 kB / 498.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.1131, allocations: 7.953 kB / 498.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1131, allocations: 8.109 kB / 498.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1133, allocations: 8 kB / 498.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1133, allocations: 11.92 kB / 498.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1133, allocations: 8 kB / 498.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.1134, allocations: 92.8 kB / 499 MB, free: 1.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1134, allocations: 0 / 499 MB, free: 1.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000572/0.114, allocations: 32 kB / 499 MB, free: 1.262 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.0001316/0.1141, allocations: 103.2 kB / 499.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.1146, allocations: 218.5 kB / 499.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.1146, allocations: 4 kB / 499.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.1149, allocations: 162.6 kB / 499.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.1155, allocations: 28.17 kB / 499.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.1165, allocations: 422.1 kB / 500 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1169, allocations: 0.7084 MB / 0.4889 GB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.117, allocations: 15.38 kB / 0.4889 GB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.117, allocations: 0 / 0.4889 GB, free: 15.52 MB / 366.1 MB Notification: Performance of Templates: time 0.005265/0.1222, allocations: 1.988 MB / 0.4909 GB, free: 13.54 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: 6.729435968911275] Failed to read output from testmodel.py, exit status != 0: 0.13051902689039707 0.297924831 0.04280628 Calling exit ...