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.0008415/0.0008415, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000806/0.000806, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8884/0.8884, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.002062/0.002062, allocations: 419.6 kB / 260.4 MB, free: 12.83 MB / 250.7 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.793e-06/1.793e-06, allocations: 0 / 383 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.627e-05, allocations: 2.281 kB / 383 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.001909/0.001936, allocations: 1.607 MB / 384.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.002167, allocations: 91.62 kB / 384.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.002222, allocations: 4 kB / 384.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.00227, allocations: 15.86 kB / 384.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.002362, allocations: 39.64 kB / 384.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.002481, allocations: 23.95 kB / 384.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.002591, allocations: 107.5 kB / 384.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.002711, allocations: 27.91 kB / 384.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.002798, allocations: 67.88 kB / 385 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.002879, allocations: 31.89 kB / 385 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.002908, allocations: 8 kB / 385.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.002922, allocations: 12 kB / 385.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.002945, allocations: 19.88 kB / 385.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.00298, allocations: 35.91 kB / 385.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003115, allocations: 115.6 kB / 385.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003117, allocations: 0 / 385.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003118, allocations: 0 / 385.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.003122, allocations: 0 / 385.2 MB, free: 13.43 MB / 362.7 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.0003896/0.003512, allocations: 318.2 kB / 385.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.003548, allocations: 8.031 kB / 385.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.003583, allocations: 20.84 kB / 385.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.003727, allocations: 125.6 kB / 385.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.003738, allocations: 8.562 kB / 385.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.003766, allocations: 12.38 kB / 385.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.003924, allocations: 93.72 kB / 385.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.003938, allocations: 4 kB / 385.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.003951, allocations: 4 kB / 385.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.003957, allocations: 0 / 385.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.004044, allocations: 59.95 kB / 385.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.004437, allocations: 308.2 kB / 386.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.004578, allocations: 98.67 kB / 386.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.004631, allocations: 44.72 kB / 386.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.004642, allocations: 0 / 386.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004664, allocations: 34.56 kB / 386.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.004664, allocations: 0 / 386.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008199/0.005484, allocations: 0.5332 MB / 386.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.00552, allocations: 59.56 kB / 386.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.005596, allocations: 121.8 kB / 387.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.005609, allocations: 29.7 kB / 387.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.005664, allocations: 104 kB / 387.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.005694, allocations: 59.84 kB / 387.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.005731, allocations: 33.7 kB / 387.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.005813, allocations: 322.8 kB / 387.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.005852, allocations: 28 kB / 387.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.005909, allocations: 69.23 kB / 387.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.00601, allocations: 100.8 kB / 387.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006012, allocations: 4 kB / 387.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001769/0.006189, allocations: 170.3 kB / 388 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.006204, allocations: 8 kB / 388 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.006209, allocations: 0 / 388 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.006312, allocations: 24.84 kB / 388 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.006388, allocations: 27.98 kB / 388 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008927/0.007281, allocations: 1.485 MB / 389.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.007316, allocations: 8.094 kB / 389.5 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.007323, allocations: 4 kB / 389.5 MB, free: 8.801 MB / 362.7 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 7.228e-05/0.007395, allocations: 121.8 kB / 389.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.007415, allocations: 15.94 kB / 389.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.007437, allocations: 16.78 kB / 389.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007439, allocations: 3.938 kB / 389.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.007442, allocations: 4 kB / 389.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007445, allocations: 0 / 389.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.007845, allocations: 429.3 kB / 390.1 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007847, allocations: 0 / 390.1 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.007917, allocations: 27.94 kB / 390.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-05/0.007964, allocations: 20.84 kB / 390.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.007972, allocations: 4 kB / 390.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000569/0.008541, allocations: 1.256 MB / 391.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008542, allocations: 0 / 391.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.00876, allocations: 294.9 kB / 391.7 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.008773, allocations: 23.81 kB / 391.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.00878, allocations: 0 / 391.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.008821, allocations: 8 kB / 391.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.008841, allocations: 7.984 kB / 391.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.008847, allocations: 4 kB / 391.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.568e-05/0.008882, allocations: 91.27 kB / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008882, allocations: 4.156 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.009072, allocations: 32 kB / 391.9 MB, free: 6.27 MB / 362.7 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 9.229e-05/0.009165, allocations: 99.47 kB / 391.9 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.009459, allocations: 231.5 kB / 392.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.009461, allocations: 0 / 392.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.00956, allocations: 162.8 kB / 392.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.009808, allocations: 32.56 kB / 392.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.01027, allocations: 351.1 kB / 392.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.01033, allocations: 96.8 kB / 392.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.01035, allocations: 12.5 kB / 392.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01035, allocations: 4 kB / 392.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of Templates: time 0.00267/0.01302, allocations: 1.998 MB / 394.8 MB, free: 3.219 MB / 362.7 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.439216363243759] Failed to read output from testmodel.py, exit status != 0: 0.01810468640178442 0.025407596 0.020613673000000002 Calling exit ...