Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001308/0.001308, 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.001469/0.001469, allocations: 215 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.002862/0.002862, allocations: 0.5749 MB / 313.8 MB, free: 2.566 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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 55.91 kB / 436 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.09818, allocations: 53.51 MB / 489.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001674/0.09985, allocations: 0.5307 MB / 490 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.1, allocations: 32.3 kB / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1, allocations: 0 / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.1001, allocations: 0 / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.876e-05/0.1001, allocations: 3.938 kB / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.1002, allocations: 4 kB / 490 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.1003, allocations: 15.98 kB / 490.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.1003, allocations: 4 kB / 490.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.1003, allocations: 15.92 kB / 490.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.1004, allocations: 3.938 kB / 490.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1004, allocations: 4 kB / 490.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.1004, allocations: 0 / 490.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.1005, allocations: 11.97 kB / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1005, allocations: 7.938 kB / 490.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.581e-05/0.1006, allocations: 16.14 kB / 490.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1006, allocations: 4 kB / 490.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1006, allocations: 0 / 490.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1006, allocations: 0 / 490.1 MB, free: 10.88 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.0004038/0.101, allocations: 262.3 kB / 490.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.101, allocations: 8.031 kB / 490.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.124e-05/0.101, allocations: 4.188 kB / 490.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.1011, allocations: 34.73 kB / 490.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.1011, allocations: 0.9375 kB / 490.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1012, allocations: 110.5 kB / 490.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1012, allocations: 8.375 kB / 490.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1013, allocations: 4.375 kB / 490.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1014, allocations: 46 kB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1014, allocations: 0 / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1014, allocations: 4 kB / 490.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1014, allocations: 4 kB / 490.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.1015, allocations: 15.92 kB / 490.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1019, allocations: 243.8 kB / 490.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.102, allocations: 42.64 kB / 490.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.1021, allocations: 16.92 kB / 490.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1021, allocations: 0 / 490.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.1021, allocations: 38.5 kB / 491 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1021, allocations: 7.938 kB / 491 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004819/0.1026, allocations: 82.52 kB / 491 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1027, allocations: 51.41 kB / 491.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.1027, allocations: 97.8 kB / 491.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1028, allocations: 29.7 kB / 491.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1028, allocations: 84.09 kB / 491.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1029, allocations: 19.89 kB / 491.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1029, allocations: 17.66 kB / 491.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1031, allocations: 318.8 kB / 491.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.1031, allocations: 11.98 kB / 491.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.1032, allocations: 21.72 kB / 491.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.1032, allocations: 33.7 kB / 491.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1032, allocations: 0 / 491.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001539/0.1034, allocations: 74.48 kB / 491.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1034, allocations: 4 kB / 491.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1034, allocations: 8.031 kB / 491.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.1036, allocations: 16.84 kB / 491.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.1037, allocations: 8.125 kB / 491.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.105, allocations: 1.248 MB / 493.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.105, allocations: 4.031 kB / 493.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.105, allocations: 0 / 493.1 MB, free: 7.598 MB / 350.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001177/0.1052, allocations: 125.7 kB / 493.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1052, allocations: 4.516 kB / 493.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.1052, allocations: 7.672 kB / 493.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1052, allocations: 0 / 493.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1052, allocations: 0 / 493.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1052, allocations: 7.984 kB / 493.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.1054, allocations: 132.6 kB / 493.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1054, allocations: 0 / 493.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1055, allocations: 8 kB / 493.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.1055, allocations: 16.84 kB / 493.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1055, allocations: 0 / 493.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1066, allocations: 1.248 MB / 494.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1066, allocations: 4.031 kB / 494.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1068, allocations: 176.3 kB / 494.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.1068, allocations: 3.938 kB / 494.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1068, allocations: 3.938 kB / 494.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.1069, allocations: 8.016 kB / 494.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.1069, allocations: 128 / 494.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1069, allocations: 4 kB / 494.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.107, allocations: 83.28 kB / 494.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.107, allocations: 0 / 494.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1072, allocations: 4 kB / 494.9 MB, free: 5.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.000511/0.1077, allocations: 0.7131 MB / 495.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.108, allocations: 138.7 kB / 495.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.108, allocations: 0 / 495.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1081, allocations: 123 kB / 495.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1083, allocations: 11.94 kB / 495.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1096, allocations: 1.28 MB / 497.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1099, allocations: 0.6807 MB / 497.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.11, allocations: 4 kB / 497.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.11, allocations: 15.42 kB / 497.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.11, allocations: 0 / 497.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.1341, allocations: 1.623 MB / 499.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.64, allocations: 7.797 kB / 499.5 MB, free: 1.004 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.289866864972282] Failed to read output from testmodel.py, exit status != 0: 11.800373156031128 11.81986713 11.715566232 Calling exit ...