Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001331/0.001331, allocations: 110.2 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.001399/0.001399, allocations: 192 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.428/1.428, allocations: 225.6 MB / 251 MB, free: 13.01 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.00306/0.00306, allocations: 0.5771 MB / 306.8 MB, free: 8.047 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.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.81 kB / 427.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08603, allocations: 52.33 MB / 479.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001643/0.08768, allocations: 0.5278 MB / 480 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001589/0.08784, allocations: 23.91 kB / 480 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.08786, allocations: 0 / 480 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.08788, allocations: 0 / 480 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.995e-05/0.08791, allocations: 3.938 kB / 480.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.08802, allocations: 11.98 kB / 480.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.493e-05/0.08808, allocations: 15.98 kB / 480.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.08813, allocations: 8.344 kB / 480.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.08815, allocations: 11.92 kB / 480.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.115e-05/0.08821, allocations: 11.94 kB / 480.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.08823, allocations: 0 / 480.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.08824, allocations: 4 kB / 480.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.08825, allocations: 3.984 kB / 480.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.08829, allocations: 15.92 kB / 480.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.824e-05/0.08835, allocations: 11.86 kB / 480.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.08835, allocations: 0 / 480.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.08835, allocations: 4 kB / 480.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.08836, allocations: 0 / 480.2 MB, free: 2.312 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003881/0.08875, allocations: 262.3 kB / 480.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.08878, allocations: 8.031 kB / 480.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.08881, allocations: 8.891 kB / 480.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.08892, allocations: 110.5 kB / 480.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.08893, allocations: 384 / 480.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.08896, allocations: 8.359 kB / 480.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.08907, allocations: 46.25 kB / 480.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.08908, allocations: 192 / 480.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.08909, allocations: 7.938 kB / 480.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.0891, allocations: 8 kB / 480.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.08913, allocations: 7.984 kB / 480.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.08951, allocations: 239.8 kB / 480.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.08962, allocations: 46.56 kB / 480.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.08964, allocations: 11.39 kB / 480.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.08965, allocations: 0 / 480.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.08968, allocations: 42.64 kB / 480.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.08968, allocations: 4 kB / 480.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003706/0.09005, allocations: 78.47 kB / 481 MB, free: 1.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.09009, allocations: 51.41 kB / 481.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.09017, allocations: 97.84 kB / 481.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.09019, allocations: 29.7 kB / 481.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.09025, allocations: 88.12 kB / 481.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.09027, allocations: 19.86 kB / 481.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.09031, allocations: 21.7 kB / 481.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.09045, allocations: 314.8 kB / 481.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.09047, allocations: 11.94 kB / 481.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.09051, allocations: 25.64 kB / 481.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.09056, allocations: 33.72 kB / 481.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09057, allocations: 0 / 481.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001415/0.09071, allocations: 78.84 kB / 481.8 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.09072, allocations: 4 kB / 481.8 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09072, allocations: 7.938 kB / 481.8 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.09085, allocations: 12.86 kB / 481.8 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.0909, allocations: 8.031 kB / 481.8 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.09201, allocations: 1.245 MB / 483.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.09203, allocations: 8.266 kB / 483.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.09204, allocations: 8 kB / 483.1 MB, free: 15.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.539e-05/0.09214, allocations: 123.8 kB / 483.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.09216, allocations: 3.938 kB / 483.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.09218, allocations: 7.625 kB / 483.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.09218, allocations: 0 / 483.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.09218, allocations: 0 / 483.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.09219, allocations: 4 kB / 483.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.09236, allocations: 132.7 kB / 483.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.09236, allocations: 4 kB / 483.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.0924, allocations: 7.984 kB / 483.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-05/0.09247, allocations: 12.86 kB / 483.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.09248, allocations: 3.984 kB / 483.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.09351, allocations: 1.24 MB / 484.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.09351, allocations: 7.969 kB / 484.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.09374, allocations: 172.5 kB / 484.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.09375, allocations: 3.953 kB / 484.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.09376, allocations: 3.938 kB / 484.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.09381, allocations: 7.969 kB / 484.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.09384, allocations: 3.984 kB / 484.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.09384, allocations: 0 / 484.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.09389, allocations: 83.28 kB / 484.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09389, allocations: 0 / 484.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.09413, allocations: 4 kB / 484.9 MB, free: 13.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0001737/0.0943, allocations: 99.31 kB / 485 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.0946, allocations: 134.7 kB / 485.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.09461, allocations: 3.938 kB / 485.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.09478, allocations: 130.6 kB / 485.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.09499, allocations: 4 kB / 485.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.09533, allocations: 150.1 kB / 485.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.09569, allocations: 0.6807 MB / 486.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.09571, allocations: 0 / 486.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.09573, allocations: 11.44 kB / 486.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.09573, allocations: 0 / 486.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Templates: time 0.003165/0.09889, allocations: 0.5705 MB / 486.7 MB, free: 11.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1696768226101995] Failed to read output from testmodel.py, exit status != 0: 0.10651952214539051 0.123567278 0.032000649 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0bd7fa97b0>