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.001782/0.001782, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002189/0.002189, allocations: 165.9 kB / 22.45 MB, free: 5.375 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.434/1.434, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.002933/0.002933, allocations: 419.5 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.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 1.202e-06/1.202e-06, allocations: 0 / 382.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.142e-05, allocations: 2.281 kB / 382.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002751/0.002772, allocations: 1.603 MB / 383.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.003038, allocations: 95.69 kB / 384 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.003096, allocations: 0 / 384 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.003146, allocations: 23.72 kB / 384 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.003257, allocations: 35.7 kB / 384 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.003362, allocations: 23.92 kB / 384 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.003508, allocations: 111.5 kB / 384.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.003628, allocations: 31.91 kB / 384.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.00374, allocations: 63.88 kB / 384.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.003825, allocations: 27.91 kB / 384.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.003848, allocations: 8 kB / 384.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.003871, allocations: 12 kB / 384.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.003899, allocations: 23.91 kB / 384.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.003951, allocations: 31.92 kB / 384.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.004118, allocations: 111.6 kB / 384.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00412, allocations: 0 / 384.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004121, allocations: 0 / 384.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004124, allocations: 0 / 384.5 MB, free: 2.012 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005039/0.004628, allocations: 318.2 kB / 384.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.004658, allocations: 8.031 kB / 384.8 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.0047, allocations: 16.84 kB / 384.8 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.004877, allocations: 137.6 kB / 384.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.00489, allocations: 4.562 kB / 384.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.004917, allocations: 12.33 kB / 384.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.005106, allocations: 98.72 kB / 385 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.005119, allocations: 0 / 385 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.00513, allocations: 0 / 385 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005137, allocations: 4 kB / 385 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.005263, allocations: 59.09 kB / 385.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.005762, allocations: 304.3 kB / 385.4 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.005969, allocations: 110.6 kB / 385.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.00604, allocations: 32.8 kB / 385.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.006056, allocations: 3.984 kB / 385.5 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.00609, allocations: 38.56 kB / 385.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.006092, allocations: 0 / 385.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001111/0.007203, allocations: 0.531 MB / 386.1 MB, free: 196 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.007254, allocations: 59.34 kB / 386.2 MB, free: 124 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007373, allocations: 117.9 kB / 386.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.007395, allocations: 29.7 kB / 386.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.00747, allocations: 107.7 kB / 386.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.007521, allocations: 59.48 kB / 386.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.007578, allocations: 33.67 kB / 386.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.007732, allocations: 322.8 kB / 386.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.007796, allocations: 31.98 kB / 386.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.007881, allocations: 54.56 kB / 386.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.008042, allocations: 102.6 kB / 387 MB, free: 15.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.008043, allocations: 3.938 kB / 387 MB, free: 15.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002984/0.008341, allocations: 173.7 kB / 387.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.008356, allocations: 8 kB / 387.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.00836, allocations: 0 / 387.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.008495, allocations: 28.84 kB / 387.2 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.008622, allocations: 27.92 kB / 387.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.01001, allocations: 1.481 MB / 388.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.01006, allocations: 0 / 388.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01007, allocations: 12.09 kB / 388.7 MB, free: 13.38 MB / 318.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.0001132/0.01019, allocations: 121.8 kB / 388.9 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.01022, allocations: 7.953 kB / 388.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.01026, allocations: 12.78 kB / 388.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.01027, allocations: 7.938 kB / 388.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01027, allocations: 0 / 388.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01028, allocations: 3.984 kB / 388.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.01094, allocations: 437.1 kB / 389.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01094, allocations: 0 / 389.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.01107, allocations: 23.98 kB / 389.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.662e-05/0.01115, allocations: 24.91 kB / 389.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01116, allocations: 4 kB / 389.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.01221, allocations: 1.26 MB / 390.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.01222, allocations: 4.031 kB / 390.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.0126, allocations: 290.8 kB / 390.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.01261, allocations: 11.92 kB / 390.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01263, allocations: 4 kB / 390.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.01272, allocations: 4 kB / 390.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.01275, allocations: 15.97 kB / 391 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01276, allocations: 4.375 kB / 391 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.01283, allocations: 99.14 kB / 391.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01283, allocations: 0 / 391.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.01316, allocations: 36.12 kB / 391.1 MB, free: 10.84 MB / 318.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.0001045/0.01326, allocations: 95.25 kB / 391.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.01368, allocations: 210.5 kB / 391.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01368, allocations: 0 / 391.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.0139, allocations: 170.5 kB / 391.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.01428, allocations: 35.2 kB / 391.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.0149, allocations: 339.2 kB / 391.9 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.359e-05/0.015, allocations: 96.8 kB / 392 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01504, allocations: 8.656 kB / 392 MB, free: 9.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.01507, allocations: 12.5 kB / 392 MB, free: 9.805 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.01507, allocations: 0 / 392 MB, free: 9.805 MB / 318.1 MB Notification: Performance of Templates: time 0.00471/0.01978, allocations: 1.403 MB / 393.4 MB, free: 8.473 MB / 318.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.110105726867914] Failed to read output from testmodel.py, exit status != 0: 0.02781488746404648 0.043055016 0.035778668 Calling exit ...