Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 192.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00297/0.00297, allocations: 0.5802 MB / 306.8 MB, free: 8.043 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 71.83 kB / 427.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09633, allocations: 52.34 MB / 479.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002927/0.09926, allocations: 1.662 MB / 481.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.09953, allocations: 107.5 kB / 481.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.09958, allocations: 0 / 481.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.09963, allocations: 15.86 kB / 481.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.09974, allocations: 31.7 kB / 481.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.09987, allocations: 23.97 kB / 481.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1, allocations: 107.5 kB / 481.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1002, allocations: 31.98 kB / 481.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.1002, allocations: 43.89 kB / 481.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.1003, allocations: 43.78 kB / 481.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1004, allocations: 8 kB / 481.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.1004, allocations: 12 kB / 481.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.1004, allocations: 15.94 kB / 481.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.1005, allocations: 47.8 kB / 481.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1006, allocations: 111.5 kB / 481.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1006, allocations: 0 / 481.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1006, allocations: 0 / 481.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1006, allocations: 0 / 481.7 MB, free: 0.6992 MB / 334.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.0005229/0.1012, allocations: 326.2 kB / 482.1 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1012, allocations: 8.031 kB / 482.1 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1012, allocations: 12.89 kB / 482.1 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1014, allocations: 138.3 kB / 482.2 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1014, allocations: 4.562 kB / 482.2 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1015, allocations: 12.31 kB / 482.2 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1017, allocations: 97.97 kB / 482.3 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1017, allocations: 7.938 kB / 482.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1017, allocations: 0 / 482.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1017, allocations: 4 kB / 482.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1018, allocations: 55.97 kB / 482.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.1025, allocations: 355.7 kB / 482.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1027, allocations: 98.48 kB / 482.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.1027, allocations: 36.84 kB / 482.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1028, allocations: 4 kB / 482.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1028, allocations: 34.56 kB / 482.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.1028, allocations: 0 / 482.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001181/0.104, allocations: 0.5357 MB / 483.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.104, allocations: 59.34 kB / 483.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1041, allocations: 126 kB / 483.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1041, allocations: 29.7 kB / 483.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.1042, allocations: 96.36 kB / 483.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.1043, allocations: 63.45 kB / 483.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1043, allocations: 33.72 kB / 483.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1045, allocations: 326.8 kB / 484.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.1046, allocations: 31.98 kB / 484.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.1046, allocations: 54.52 kB / 484.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1048, allocations: 106.5 kB / 484.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1048, allocations: 0 / 484.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002146/0.105, allocations: 140.9 kB / 484.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.105, allocations: 11.97 kB / 484.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.105, allocations: 0 / 484.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1051, allocations: 4 kB / 484.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1052, allocations: 35.98 kB / 484.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1052, allocations: 0 / 484.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1053, allocations: 4.062 kB / 484.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1053, allocations: 15.98 kB / 484.6 MB, free: 13.62 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1054, allocations: 125.7 kB / 484.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1055, allocations: 15.89 kB / 484.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.1055, allocations: 16.78 kB / 484.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1055, allocations: 0 / 484.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1055, allocations: 4 kB / 484.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1055, allocations: 3.938 kB / 484.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.1063, allocations: 476.7 kB / 485.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1063, allocations: 8.094 kB / 485.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1064, allocations: 27.92 kB / 485.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.1065, allocations: 16.86 kB / 485.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1065, allocations: 7.938 kB / 485.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.1077, allocations: 1.268 MB / 486.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1077, allocations: 0 / 486.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1081, allocations: 310 kB / 486.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.1082, allocations: 7.984 kB / 486.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1082, allocations: 11.98 kB / 486.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.1083, allocations: 0 / 486.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.1083, allocations: 11.98 kB / 486.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1083, allocations: 7.938 kB / 486.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.1084, allocations: 99.33 kB / 487 MB, free: 11.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1084, allocations: 0 / 487 MB, free: 11.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1087, allocations: 28 kB / 487 MB, free: 10.98 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.0001097/0.1088, allocations: 99.19 kB / 487.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.109, allocations: 91.91 kB / 487.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.109, allocations: 0 / 487.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.1093, allocations: 162.7 kB / 487.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1097, allocations: 24.05 kB / 487.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.1104, allocations: 394.7 kB / 487.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1108, allocations: 0.7006 MB / 488.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.1109, allocations: 17.06 kB / 488.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.1109, allocations: 15.44 kB / 488.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1109, allocations: 4 kB / 488.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Templates: time 0.005004/0.1159, allocations: 1.419 MB / 489.9 MB, free: 8.039 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.311048362404108] Failed to read output from testmodel.py, exit status != 0: 0.12378581799566746 0.13949713 0.035775648 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f229cdbd7b0>