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.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.001874/0.001874, 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.002255/0.002255, allocations: 190.9 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13 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.003017/0.003017, allocations: 0.5831 MB / 306.8 MB, free: 8.027 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.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.001957/0.001957, allocations: 75.83 kB / 427.2 MB, free: 23.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08994, allocations: 52.33 MB / 479.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002863/0.0928, allocations: 1.666 MB / 481.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.09308, allocations: 95.62 kB / 481.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.09314, allocations: 0 / 481.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.0932, allocations: 15.86 kB / 481.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.0933, allocations: 31.7 kB / 481.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.09342, allocations: 27.97 kB / 481.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.09357, allocations: 107.5 kB / 481.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.0937, allocations: 31.95 kB / 481.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.09377, allocations: 39.92 kB / 481.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.09385, allocations: 39.78 kB / 481.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.09387, allocations: 8 kB / 481.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.0939, allocations: 8 kB / 481.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.09393, allocations: 27.91 kB / 481.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.09399, allocations: 47.8 kB / 481.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.09415, allocations: 111.5 kB / 481.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.09416, allocations: 4 kB / 481.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09416, allocations: 4 kB / 481.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.09416, allocations: 0 / 481.7 MB, free: 0.6836 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.0005188/0.09468, allocations: 328.7 kB / 482.1 MB, free: 340 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.09471, allocations: 8.031 kB / 482.1 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.09476, allocations: 8.891 kB / 482.1 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.09492, allocations: 126.4 kB / 482.2 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.09494, allocations: 12.56 kB / 482.2 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.09497, allocations: 16.38 kB / 482.2 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.09515, allocations: 93.91 kB / 482.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.09516, allocations: 0 / 482.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.09518, allocations: 8 kB / 482.3 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.09518, allocations: 0 / 482.3 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.09532, allocations: 65.66 kB / 482.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.09587, allocations: 355.7 kB / 482.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.09606, allocations: 102.4 kB / 482.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.09614, allocations: 36.84 kB / 482.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.09615, allocations: 0 / 482.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.09617, allocations: 34.56 kB / 482.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.01e-07/0.09617, allocations: 3.938 kB / 482.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001082/0.09726, allocations: 0.5388 MB / 483.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.09729, allocations: 51.41 kB / 483.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.0974, allocations: 117.8 kB / 483.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.09741, allocations: 25.7 kB / 483.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.09749, allocations: 104.3 kB / 483.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.09754, allocations: 59.48 kB / 483.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.09759, allocations: 37.7 kB / 483.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.09773, allocations: 318.8 kB / 484.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.0978, allocations: 35.98 kB / 484.2 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.09788, allocations: 54.52 kB / 484.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.09805, allocations: 106.5 kB / 484.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.09805, allocations: 0 / 484.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002823/0.09833, allocations: 164.7 kB / 484.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.09834, allocations: 8 kB / 484.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.09835, allocations: 3.984 kB / 484.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.09848, allocations: 28.84 kB / 484.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.0986, allocations: 27.92 kB / 484.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.09995, allocations: 1.513 MB / 486.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.1, allocations: 8.031 kB / 486.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1, allocations: 4.062 kB / 486.1 MB, free: 11.95 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.0001067/0.1001, allocations: 137.6 kB / 486.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1002, allocations: 7.953 kB / 486.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1002, allocations: 20.78 kB / 486.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1002, allocations: 0 / 486.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1002, allocations: 0 / 486.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1002, allocations: 7.938 kB / 486.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.1009, allocations: 0.5118 MB / 486.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1009, allocations: 0 / 486.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.101, allocations: 27.98 kB / 486.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.999e-05/0.1011, allocations: 20.8 kB / 486.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1011, allocations: 11.94 kB / 486.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.1021, allocations: 1.264 MB / 488.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1021, allocations: 4.062 kB / 488.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1025, allocations: 302.3 kB / 488.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.1025, allocations: 7.984 kB / 488.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1025, allocations: 15.94 kB / 488.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.1026, allocations: 7.984 kB / 488.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1026, allocations: 11.92 kB / 488.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1026, allocations: 4 kB / 488.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.114e-05/0.1027, allocations: 100.8 kB / 488.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1027, allocations: 0 / 488.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.103, allocations: 28 kB / 488.6 MB, free: 9.246 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.0001003/0.1031, allocations: 103.2 kB / 488.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.1035, allocations: 214.5 kB / 488.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1035, allocations: 0 / 488.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.1037, allocations: 174.2 kB / 489.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1041, allocations: 16.12 kB / 489.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.1048, allocations: 407.1 kB / 489.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1052, allocations: 0.7084 MB / 490.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.503e-05/0.1052, allocations: 9.078 kB / 490.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.1052, allocations: 15.44 kB / 490.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1052, allocations: 0 / 490.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Templates: time 0.004564/0.1098, allocations: 1.466 MB / 491.7 MB, free: 6.109 MB / 350.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: 4.409957682713866] Failed to read output from testmodel.py, exit status != 0: 0.11709591373801231 0.133021257 0.035770538000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd41cb297b0>