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.001319/0.001319, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001499/0.001499, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002929/0.002929, allocations: 0.5781 MB / 313.8 MB, free: 2.434 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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.91 kB / 435.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 53.53 MB / 489.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003719/0.1125, allocations: 1.597 MB / 491 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003729/0.1129, allocations: 99.62 kB / 491.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.1129, allocations: 4 kB / 491.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.341e-05/0.113, allocations: 19.8 kB / 491.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1131, allocations: 31.7 kB / 491.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1133, allocations: 23.97 kB / 491.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1135, allocations: 103.5 kB / 491.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1137, allocations: 35.91 kB / 491.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.1138, allocations: 35.92 kB / 491.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.114, allocations: 43.78 kB / 491.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.114, allocations: 8 kB / 491.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.593e-05/0.114, allocations: 12 kB / 491.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.1141, allocations: 15.92 kB / 491.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.1141, allocations: 51.78 kB / 491.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1144, allocations: 107.8 kB / 491.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.1144, allocations: 0 / 491.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1144, allocations: 0 / 491.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1144, allocations: 4 kB / 491.6 MB, free: 9.113 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006771/0.1151, allocations: 318.2 kB / 491.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.1151, allocations: 12.03 kB / 491.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.545e-05/0.1152, allocations: 384 / 491.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.1152, allocations: 46.73 kB / 492 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1152, allocations: 12.84 kB / 492 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1154, allocations: 130.4 kB / 492.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1155, allocations: 8.562 kB / 492.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.1155, allocations: 20.08 kB / 492.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1157, allocations: 93.59 kB / 492.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1157, allocations: 4 kB / 492.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1157, allocations: 7.938 kB / 492.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1157, allocations: 0 / 492.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1159, allocations: 59.91 kB / 492.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.1165, allocations: 335.8 kB / 492.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1167, allocations: 94.55 kB / 492.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1167, allocations: 28.86 kB / 492.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1168, allocations: 4 kB / 492.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1168, allocations: 42.55 kB / 492.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1168, allocations: 0 / 492.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001162/0.1179, allocations: 0.531 MB / 493.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.118, allocations: 59.34 kB / 493.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1181, allocations: 125.9 kB / 493.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1182, allocations: 29.7 kB / 493.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1183, allocations: 108.2 kB / 493.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.1183, allocations: 63.48 kB / 493.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.1184, allocations: 33.7 kB / 493.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1186, allocations: 318.8 kB / 494 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.1186, allocations: 27.98 kB / 494.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1187, allocations: 62.55 kB / 494.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1189, allocations: 104.6 kB / 494.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1189, allocations: 0 / 494.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002916/0.1192, allocations: 158.3 kB / 494.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1192, allocations: 8 kB / 494.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1192, allocations: 8.016 kB / 494.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.1194, allocations: 36.78 kB / 494.4 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1195, allocations: 27.92 kB / 494.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.121, allocations: 1.504 MB / 496 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.121, allocations: 4 kB / 496 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.121, allocations: 4.031 kB / 496 MB, free: 4.34 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.0001222/0.1212, allocations: 132.5 kB / 496.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1212, allocations: 15.89 kB / 496.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.1212, allocations: 20.78 kB / 496.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1212, allocations: 0 / 496.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1212, allocations: 0 / 496.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1212, allocations: 0 / 496.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.1219, allocations: 459 kB / 496.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1219, allocations: 0 / 496.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.122, allocations: 36.02 kB / 496.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-05/0.1221, allocations: 20.84 kB / 496.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.1221, allocations: 8 kB / 496.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1232, allocations: 1.267 MB / 497.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1232, allocations: 0 / 497.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.1236, allocations: 302.9 kB / 498.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.1236, allocations: 7.984 kB / 498.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1236, allocations: 11.98 kB / 498.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.1237, allocations: 7.938 kB / 498.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1238, allocations: 15.92 kB / 498.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1238, allocations: 4 kB / 498.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.677e-05/0.1238, allocations: 95.27 kB / 498.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1238, allocations: 0 / 498.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.1242, allocations: 32 kB / 498.4 MB, free: 1.719 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.0007606/0.1249, allocations: 0.8367 MB / 499.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.1253, allocations: 218.6 kB / 499.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1253, allocations: 3.938 kB / 499.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1255, allocations: 162.6 kB / 499.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.126, allocations: 16.3 kB / 499.6 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1281, allocations: 1.87 MB / 0.4897 GB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.1282, allocations: 96.62 kB / 0.4898 GB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.1283, allocations: 5.094 kB / 0.4898 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.1283, allocations: 31.42 kB / 0.4898 GB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1283, allocations: 0 / 0.4898 GB, free: 14.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.1571, allocations: 3.192 MB / 0.493 GB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.22, allocations: 15.97 kB / 0.493 GB, free: 11.31 MB / 366.1 MB " [Timeout remaining time 648] (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: 15.057438271935098] Failed to read output from testmodel.py, exit status != 0: 12.389020286966115 12.627321047 12.509179066 Calling exit ...