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.001904/0.001904, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002316/0.002316, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.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.002878/0.002878, allocations: 0.5762 MB / 313.8 MB, free: 2.582 MB / 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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 436 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1115, allocations: 53.53 MB / 489.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.00174/0.1132, allocations: 0.5114 MB / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.1134, allocations: 40.23 kB / 490 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.1134, allocations: 0 / 490 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.1135, allocations: 4 kB / 490 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.344e-05/0.1135, allocations: 0 / 490 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.1136, allocations: 7.922 kB / 490 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.1137, allocations: 19.97 kB / 490.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.1137, allocations: 4 kB / 490.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.1138, allocations: 11.94 kB / 490.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.1138, allocations: 11.92 kB / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1139, allocations: 0 / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-06/0.1139, allocations: 0 / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.1139, allocations: 8 kB / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.1139, allocations: 11.92 kB / 490.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.281e-05/0.114, allocations: 24.12 kB / 490.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.114, allocations: 0 / 490.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.114, allocations: 4 kB / 490.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.114, allocations: 0 / 490.1 MB, free: 10.82 MB / 350.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.0004298/0.1144, allocations: 254.4 kB / 490.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1145, allocations: 8.031 kB / 490.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.023e-05/0.1145, allocations: 192 / 490.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1145, allocations: 38.75 kB / 490.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1146, allocations: 4.938 kB / 490.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1147, allocations: 118.5 kB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1147, allocations: 384 / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1147, allocations: 8.375 kB / 490.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1149, allocations: 46 kB / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1149, allocations: 0 / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1149, allocations: 0 / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1149, allocations: 4 kB / 490.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.1149, allocations: 15.98 kB / 490.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.1152, allocations: 223.9 kB / 490.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1154, allocations: 54.48 kB / 490.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.1154, allocations: 24.97 kB / 490.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1154, allocations: 4 kB / 490.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1154, allocations: 30.56 kB / 491 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.1154, allocations: 0 / 491 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007124/0.1162, allocations: 359.9 kB / 491.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1162, allocations: 51.41 kB / 491.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.1163, allocations: 105.8 kB / 491.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1163, allocations: 29.7 kB / 491.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.1163, allocations: 88.08 kB / 491.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.1164, allocations: 31.75 kB / 491.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1164, allocations: 25.64 kB / 491.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1166, allocations: 318.8 kB / 491.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.1166, allocations: 15.98 kB / 492 MB, free: 8.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.1166, allocations: 33.64 kB / 492 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1169, allocations: 89.7 kB / 492.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1169, allocations: 0 / 492.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001608/0.117, allocations: 94.47 kB / 492.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1171, allocations: 7.938 kB / 492.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1171, allocations: 7.938 kB / 492.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.1172, allocations: 16.84 kB / 492.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.1172, allocations: 16.86 kB / 492.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1185, allocations: 1.288 MB / 493.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.1185, allocations: 0 / 493.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1185, allocations: 8.031 kB / 493.5 MB, free: 7.055 MB / 350.1 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.0002027/0.1187, allocations: 117.8 kB / 493.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1187, allocations: 3.953 kB / 493.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.1187, allocations: 8.062 kB / 493.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1188, allocations: 4 kB / 493.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1188, allocations: 0 / 493.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1188, allocations: 0 / 493.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1192, allocations: 344.9 kB / 494 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1192, allocations: 3.938 kB / 494 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.1193, allocations: 15.92 kB / 494 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/0.1194, allocations: 20.84 kB / 494 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1194, allocations: 4 kB / 494 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.1204, allocations: 1.287 MB / 495.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1204, allocations: 7.969 kB / 495.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1207, allocations: 227.3 kB / 495.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-06/0.1207, allocations: 0 / 495.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1207, allocations: 11.98 kB / 495.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.1207, allocations: 4 kB / 495.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.1208, allocations: 11.98 kB / 495.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1208, allocations: 8.062 kB / 495.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.953e-05/0.1208, allocations: 75.38 kB / 495.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 3.938 kB / 495.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.121, allocations: 12 kB / 495.7 MB, free: 4.684 MB / 350.1 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.0006072/0.1217, allocations: 0.7602 MB / 496.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.1219, allocations: 162.6 kB / 496.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.1219, allocations: 4 kB / 496.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1221, allocations: 146.9 kB / 496.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.1224, allocations: 4 kB / 496.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1243, allocations: 1.406 MB / 498.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.1247, allocations: 0.6885 MB / 498.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.1247, allocations: 0 / 498.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1248, allocations: 15.44 kB / 498.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1248, allocations: 0 / 498.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.1545, allocations: 1.861 MB / 0.489 GB, free: 15.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.67, allocations: 12.11 kB / 0.489 GB, free: 15.62 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.369823909015395] Failed to read output from testmodel.py, exit status != 0: 11.83349884004565 11.853371893 11.735144112 Calling exit ...