Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.0007958/0.0007958, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008914/0.0008914, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8553/0.8553, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.002072/0.002072, allocations: 420.2 kB / 259.6 MB, free: 12.84 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 381.8 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.209e-05, allocations: 5.375 kB / 381.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00124/0.001262, allocations: 0.5111 MB / 382.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.00141, allocations: 31.89 kB / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.001434, allocations: 0 / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.001451, allocations: 3.938 kB / 382.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.001478, allocations: 0 / 382.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.001596, allocations: 0 / 382.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.001651, allocations: 19.97 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.001694, allocations: 7.938 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.001732, allocations: 7.984 kB / 382.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.001791, allocations: 11.98 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.001812, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.001822, allocations: 8 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.00184, allocations: 3.984 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.001858, allocations: 11.92 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.771e-05/0.001926, allocations: 7.984 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.00193, allocations: 7.938 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.001931, allocations: 0 / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.001935, allocations: 0 / 382.4 MB, free: 15.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003275/0.002263, allocations: 258.3 kB / 382.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.002308, allocations: 12.03 kB / 382.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.002336, allocations: 30.75 kB / 382.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.002359, allocations: 0.9375 kB / 382.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.733e-05/0.002437, allocations: 121.8 kB / 382.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.002447, allocations: 384 / 382.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.002467, allocations: 8.328 kB / 382.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.002561, allocations: 46.25 kB / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.00257, allocations: 192 / 382.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.002578, allocations: 8.359 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.002583, allocations: 4.125 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.002619, allocations: 15.92 kB / 382.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.002846, allocations: 216.1 kB / 383.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/0.002937, allocations: 46.56 kB / 383.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.002963, allocations: 20.98 kB / 383.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.002973, allocations: 3.938 kB / 383.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.002991, allocations: 34.5 kB / 383.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.002992, allocations: 3.938 kB / 383.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005632/0.003556, allocations: 360.3 kB / 383.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.003584, allocations: 51.41 kB / 383.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.159e-05/0.003636, allocations: 101.8 kB / 383.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.003645, allocations: 25.7 kB / 383.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.003671, allocations: 92.08 kB / 383.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.003703, allocations: 35.72 kB / 383.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.003733, allocations: 21.72 kB / 383.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.003819, allocations: 326.8 kB / 384.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.003844, allocations: 12 kB / 384.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.003875, allocations: 29.7 kB / 384.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.004083, allocations: 93.62 kB / 384.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.004084, allocations: 0 / 384.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000113/0.004197, allocations: 94.42 kB / 384.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.004211, allocations: 8 kB / 384.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.004216, allocations: 4 kB / 384.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.224e-05/0.004308, allocations: 24.84 kB / 384.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.004361, allocations: 8 kB / 384.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007315/0.005093, allocations: 1.28 MB / 385.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.00511, allocations: 0.5 kB / 385.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.005116, allocations: 8.031 kB / 385.8 MB, free: 11.71 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.005248, allocations: 113.9 kB / 385.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.005263, allocations: 7.891 kB / 385.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.00528, allocations: 12.12 kB / 385.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.005282, allocations: 0 / 385.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.005285, allocations: 4 kB / 385.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.005288, allocations: 0 / 385.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.005591, allocations: 336.9 kB / 386.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005593, allocations: 0 / 386.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.005631, allocations: 11.94 kB / 386.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.359e-05/0.005685, allocations: 32.88 kB / 386.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.005692, allocations: 0 / 386.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005873/0.006279, allocations: 1.291 MB / 387.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006281, allocations: 4.031 kB / 387.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.00643, allocations: 218.8 kB / 387.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.006436, allocations: 8.031 kB / 387.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-06/0.006443, allocations: 7.984 kB / 387.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.006479, allocations: 4.125 kB / 387.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.0065, allocations: 15.92 kB / 387.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.006504, allocations: 0 / 387.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.006528, allocations: 83.38 kB / 387.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006528, allocations: 3.938 kB / 387.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.006694, allocations: 8 kB / 387.9 MB, free: 9.348 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003384/0.007032, allocations: 0.7552 MB / 388.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.007255, allocations: 166.7 kB / 388.8 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.007257, allocations: 0 / 388.8 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.992e-05/0.007357, allocations: 150.7 kB / 389 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.007521, allocations: 8.656 kB / 389 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.008377, allocations: 1.382 MB / 390.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.008426, allocations: 71.33 kB / 390.5 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.008445, allocations: 8.188 kB / 390.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.008478, allocations: 16.5 kB / 390.5 MB, free: 6.602 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008478, allocations: 0 / 390.5 MB, free: 6.602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.02574, allocations: 2.397 MB / 392.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.648, allocations: 7.984 kB / 392.9 MB, free: 4.398 MB / 362.7 MB " [Timeout remaining time 652] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.307244938798249] Failed to read output from testmodel.py, exit status != 0: 7.729937268421054 7.740461309 7.736899453 Calling exit ...