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.001733/0.001733, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001903/0.001903, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.364/1.364, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.002859/0.002859, allocations: 0.5718 MB / 303.3 MB, free: 9.203 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.89 kB / 421.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.0908, allocations: 52.31 MB / 473.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002855/0.09365, allocations: 1.642 MB / 475.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.09391, allocations: 99.56 kB / 475.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.09397, allocations: 4 kB / 475.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.09402, allocations: 11.86 kB / 475.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.09412, allocations: 31.72 kB / 475.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.09425, allocations: 27.95 kB / 475.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.0944, allocations: 107.5 kB / 475.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.09452, allocations: 27.92 kB / 475.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.09459, allocations: 39.91 kB / 475.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.09469, allocations: 47.77 kB / 475.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.09471, allocations: 8 kB / 475.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.09473, allocations: 12 kB / 475.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.09476, allocations: 19.94 kB / 475.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.09482, allocations: 47.8 kB / 475.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.09498, allocations: 115.8 kB / 476 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.09498, allocations: 0 / 476 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09498, allocations: 0 / 476 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09499, allocations: 0 / 476 MB, free: 2.695 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.0005283/0.09552, allocations: 395.3 kB / 476.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.09555, allocations: 12.03 kB / 476.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.09561, allocations: 46.73 kB / 476.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.09564, allocations: 8.891 kB / 476.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.09584, allocations: 192.2 kB / 476.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.09585, allocations: 8.562 kB / 476.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.09588, allocations: 12.38 kB / 476.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.09606, allocations: 87.3 kB / 476.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.09607, allocations: 3.984 kB / 476.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.09609, allocations: 4 kB / 476.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.09609, allocations: 4 kB / 476.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.09621, allocations: 63.91 kB / 476.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.09678, allocations: 388.6 kB / 477.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.09696, allocations: 94.48 kB / 477.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.09702, allocations: 36.84 kB / 477.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.09704, allocations: 3.984 kB / 477.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.09707, allocations: 38.56 kB / 477.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.09707, allocations: 0 / 477.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001193/0.09826, allocations: 0.6864 MB / 478.1 MB, free: 380 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.09831, allocations: 55.41 kB / 478.1 MB, free: 312 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.09842, allocations: 130.2 kB / 478.3 MB, free: 172 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.09844, allocations: 25.7 kB / 478.3 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.09851, allocations: 104.3 kB / 478.4 MB, free: 28 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.09858, allocations: 59.67 kB / 478.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.09863, allocations: 29.7 kB / 478.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.09878, allocations: 322.8 kB / 478.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.09884, allocations: 31.98 kB / 478.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.09892, allocations: 62.56 kB / 478.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.09906, allocations: 102.5 kB / 479 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.09906, allocations: 0 / 479 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002682/0.09933, allocations: 168.1 kB / 479.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.09935, allocations: 8 kB / 479.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.09935, allocations: 0 / 479.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.09948, allocations: 28.88 kB / 479.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.09961, allocations: 31.92 kB / 479.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.101, allocations: 1.611 MB / 480.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.1011, allocations: 7.984 kB / 480.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1011, allocations: 4.031 kB / 480.8 MB, free: 13.39 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.0001143/0.1012, allocations: 129.9 kB / 481 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.1012, allocations: 11.94 kB / 481 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.1013, allocations: 16.78 kB / 481 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1013, allocations: 8.062 kB / 481 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1013, allocations: 0 / 481 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1013, allocations: 0 / 481 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.1019, allocations: 0.5478 MB / 481.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1019, allocations: 64 / 481.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.1021, allocations: 36.08 kB / 481.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/0.1022, allocations: 24.78 kB / 481.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1022, allocations: 0 / 481.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.1032, allocations: 1.363 MB / 483 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1032, allocations: 0 / 483 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1036, allocations: 314.1 kB / 483.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.1036, allocations: 85.09 kB / 483.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1037, allocations: 4 kB / 483.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.1037, allocations: 4 kB / 483.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.1038, allocations: 19.86 kB / 483.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1038, allocations: 4 kB / 483.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.1038, allocations: 107.4 kB / 483.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1038, allocations: 0 / 483.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1041, allocations: 28 kB / 483.5 MB, free: 10.43 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.0007371/0.1049, allocations: 0.8327 MB / 484.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1053, allocations: 217 kB / 484.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1053, allocations: 0 / 484.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1055, allocations: 162.6 kB / 484.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.1059, allocations: 25.19 kB / 484.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.108, allocations: 1.85 MB / 486.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1084, allocations: 0.7084 MB / 487.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.1084, allocations: 9.078 kB / 487.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.1085, allocations: 27.44 kB / 487.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1085, allocations: 3.938 kB / 487.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.1372, allocations: 3.003 MB / 490.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.799/9.936, allocations: 33.05 kB / 490.4 MB, free: 3.617 MB / 350.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.299922155216336] Failed to read output from testmodel.py, exit status != 0: 10.017869810108095 10.034351803 9.936260649 Calling exit ...