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.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.001359/0.001359, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.00143/0.00143, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.002872/0.002872, allocations: 432 kB / 259.6 MB, free: 284 kB / 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.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 1.483e-06/1.483e-06, allocations: 0 / 382.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.022e-05, allocations: 5.656 kB / 382.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001328/0.001348, allocations: 0.5052 MB / 382.8 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.001495, allocations: 33.72 kB / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.001519, allocations: 0 / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.00153, allocations: 0 / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.001567, allocations: 0 / 382.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.001669, allocations: 11.92 kB / 382.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.00172, allocations: 19.86 kB / 382.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.001764, allocations: 11.98 kB / 382.8 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.001803, allocations: 4 kB / 382.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.001862, allocations: 11.98 kB / 382.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.001877, allocations: 0 / 382.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.001885, allocations: 0 / 382.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.001904, allocations: 15.92 kB / 382.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.001926, allocations: 3.984 kB / 382.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.313e-05/0.001979, allocations: 11.92 kB / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.001981, allocations: 0 / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001981, allocations: 0 / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.001984, allocations: 4 kB / 382.9 MB, free: 3.605 MB / 302.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.0003593/0.002344, allocations: 250.4 kB / 383.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.00238, allocations: 12.03 kB / 383.2 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.002411, allocations: 4.891 kB / 383.2 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.002519, allocations: 117.7 kB / 383.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.002531, allocations: 4.375 kB / 383.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.002553, allocations: 8.375 kB / 383.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.002657, allocations: 42.25 kB / 383.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.00267, allocations: 4.172 kB / 383.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.002678, allocations: 4.312 kB / 383.3 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.002684, allocations: 4.375 kB / 383.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.00273, allocations: 11.94 kB / 383.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.003087, allocations: 212.5 kB / 383.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.003187, allocations: 46.56 kB / 383.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.003216, allocations: 16.88 kB / 383.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.003229, allocations: 4 kB / 383.6 MB, free: 2.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.003261, allocations: 34.56 kB / 383.7 MB, free: 2.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.003262, allocations: 4 kB / 383.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004117/0.003674, allocations: 78.47 kB / 383.7 MB, free: 2.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.003732, allocations: 59.33 kB / 383.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.003809, allocations: 97.86 kB / 383.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.003832, allocations: 25.7 kB / 383.9 MB, free: 2.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.003884, allocations: 80.14 kB / 384 MB, free: 2.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.003915, allocations: 23.84 kB / 384 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.003953, allocations: 17.72 kB / 384 MB, free: 2.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.004119, allocations: 314.8 kB / 384.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.004148, allocations: 15.98 kB / 384.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.004184, allocations: 13.72 kB / 384.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.004243, allocations: 33.72 kB / 384.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.004244, allocations: 0 / 384.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001559/0.0044, allocations: 86.34 kB / 384.5 MB, free: 1.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.004414, allocations: 7.125 kB / 384.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.00442, allocations: 0 / 384.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.004576, allocations: 20.88 kB / 384.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.004633, allocations: 12.36 kB / 384.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.00569, allocations: 1.221 MB / 385.8 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.005712, allocations: 7.969 kB / 385.8 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.005716, allocations: 0 / 385.8 MB, free: 460 kB / 302.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 8.355e-05/0.0058, allocations: 118 kB / 385.9 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.005823, allocations: 4 kB / 385.9 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.005845, allocations: 7.688 kB / 385.9 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.005854, allocations: 4 kB / 385.9 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.005857, allocations: 3.938 kB / 385.9 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.00586, allocations: 0 / 385.9 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.005997, allocations: 105.3 kB / 386 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005998, allocations: 0 / 386 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.006034, allocations: 4.125 kB / 386 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-05/0.006109, allocations: 20.84 kB / 386 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006117, allocations: 3.938 kB / 386 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009733/0.00709, allocations: 1.225 MB / 387.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.007093, allocations: 3.984 kB / 387.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.007298, allocations: 188.2 kB / 387.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-06/0.007302, allocations: 0 / 387.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-06/0.00731, allocations: 0 / 387.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.007364, allocations: 4.031 kB / 387.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.007377, allocations: 4.219 kB / 387.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.007383, allocations: 3.984 kB / 387.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.007426, allocations: 83.28 kB / 387.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.007426, allocations: 0 / 387.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.007664, allocations: 4 kB / 387.5 MB, free: 14.51 MB / 318.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 8.782e-05/0.007752, allocations: 95.25 kB / 387.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.008013, allocations: 138.6 kB / 387.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008015, allocations: 0 / 387.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.008165, allocations: 126.8 kB / 387.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.008374, allocations: 11.25 kB / 387.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.008631, allocations: 144.7 kB / 388 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.822e-05/0.008699, allocations: 71.27 kB / 388.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.288e-05/0.008712, allocations: 0 / 388.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.008729, allocations: 8.5 kB / 388.1 MB, free: 13.85 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.00873, allocations: 0 / 388.1 MB, free: 13.85 MB / 318.1 MB Notification: Performance of Templates: time 0.003166/0.0119, allocations: 0.6001 MB / 388.7 MB, free: 13.3 MB / 318.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.094770822674036] Failed to read output from testmodel.py, exit status != 0: 0.019927993416786194 0.034310123000000005 0.029330464 Calling exit ...