Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.001694/0.001694, allocations: 105.1 kB / 16.45 MB, free: 6.445 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.001832/0.001832, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.002568/0.002568, allocations: 0.5711 MB / 303.3 MB, free: 3.535 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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 421.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2337, allocations: 52.31 MB / 473.8 MB, free: 28.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002258/0.236, allocations: 1.653 MB / 475.4 MB, free: 27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.2362, allocations: 97.88 kB / 475.5 MB, free: 26.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.2363, allocations: 0 / 475.5 MB, free: 26.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.443e-05/0.2363, allocations: 18.53 kB / 475.5 MB, free: 26.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.2364, allocations: 30.33 kB / 475.6 MB, free: 26.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.2365, allocations: 25.58 kB / 475.6 MB, free: 26.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2366, allocations: 102.3 kB / 475.7 MB, free: 26.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2367, allocations: 36.91 kB / 475.7 MB, free: 26.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.2368, allocations: 38.03 kB / 475.8 MB, free: 26.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.2368, allocations: 45.86 kB / 475.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2368, allocations: 9.469 kB / 475.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.2369, allocations: 9.594 kB / 475.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2369, allocations: 26.48 kB / 475.9 MB, free: 26.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2369, allocations: 43.08 kB / 475.9 MB, free: 26.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.237, allocations: 107.3 kB / 476 MB, free: 26.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.237, allocations: 7.234 kB / 476 MB, free: 26.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.237, allocations: 0 / 476 MB, free: 26.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.237, allocations: 0 / 476 MB, free: 26.69 MB / 366.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.0003872/0.2374, allocations: 400.4 kB / 476.4 MB, free: 26.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2375, allocations: 13.47 kB / 476.4 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.2375, allocations: 45.33 kB / 476.5 MB, free: 26.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.2375, allocations: 11.36 kB / 476.5 MB, free: 26.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2376, allocations: 189.3 kB / 476.7 MB, free: 26.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2376, allocations: 18.95 kB / 476.7 MB, free: 26.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.2377, allocations: 10.47 kB / 476.7 MB, free: 26.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2378, allocations: 88.41 kB / 476.8 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2378, allocations: 0 / 476.8 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2378, allocations: 7.125 kB / 476.8 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2378, allocations: 0 / 476.8 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.2379, allocations: 60.3 kB / 476.8 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.2383, allocations: 391.5 kB / 477.2 MB, free: 25.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2385, allocations: 98.28 kB / 477.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.2385, allocations: 35.5 kB / 477.4 MB, free: 25.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2385, allocations: 3.094 kB / 477.4 MB, free: 25.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.2385, allocations: 30.56 kB / 477.4 MB, free: 25.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.2385, allocations: 0 / 477.4 MB, free: 25.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008133/0.2394, allocations: 0.6892 MB / 478.1 MB, free: 24.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.2394, allocations: 54.59 kB / 478.1 MB, free: 24.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.2394, allocations: 115.5 kB / 478.2 MB, free: 24.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.2395, allocations: 32.98 kB / 478.3 MB, free: 24.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.2395, allocations: 94.61 kB / 478.4 MB, free: 24.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.2395, allocations: 68.41 kB / 478.4 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.2395, allocations: 34.94 kB / 478.5 MB, free: 24.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.2396, allocations: 318 kB / 478.8 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.2396, allocations: 31.14 kB / 478.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.2397, allocations: 59.58 kB / 478.9 MB, free: 24.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2398, allocations: 103.2 kB / 479 MB, free: 24.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2398, allocations: 0 / 479 MB, free: 24.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001513/0.2399, allocations: 149.1 kB / 479.1 MB, free: 24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2399, allocations: 6.375 kB / 479.1 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.24, allocations: 0 / 479.1 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.24, allocations: 3.188 kB / 479.1 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2401, allocations: 35.88 kB / 479.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2401, allocations: 0 / 479.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.2402, allocations: 7.156 kB / 479.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2402, allocations: 3.094 kB / 479.2 MB, free: 24 MB / 366.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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.2402, allocations: 128.2 kB / 479.3 MB, free: 23.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.2403, allocations: 14.89 kB / 479.3 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.2403, allocations: 19.53 kB / 479.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2403, allocations: 7.375 kB / 479.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2403, allocations: 0 / 479.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2403, allocations: 0 / 479.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.2407, allocations: 0.509 MB / 479.8 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2407, allocations: 0 / 479.8 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.2409, allocations: 30 kB / 479.9 MB, free: 23.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.908e-05/0.2409, allocations: 22.05 kB / 479.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2409, allocations: 3.984 kB / 479.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/0.2415, allocations: 1.365 MB / 481.3 MB, free: 21.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2415, allocations: 0 / 481.3 MB, free: 21.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.2418, allocations: 306.5 kB / 481.6 MB, free: 21.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.2418, allocations: 90.84 kB / 481.7 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2418, allocations: 4 kB / 481.7 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.2419, allocations: 3.094 kB / 481.7 MB, free: 21.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.2419, allocations: 21.52 kB / 481.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2419, allocations: 3.188 kB / 481.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.242, allocations: 92.36 kB / 481.8 MB, free: 21.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.242, allocations: 0 / 481.8 MB, free: 21.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.2422, allocations: 28.75 kB / 481.8 MB, free: 21.55 MB / 366.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.0003921/0.2426, allocations: 0.8307 MB / 482.6 MB, free: 20.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.2428, allocations: 90.75 kB / 482.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2428, allocations: 128 / 482.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.2429, allocations: 170.8 kB / 482.9 MB, free: 20.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.2433, allocations: 30.31 kB / 482.9 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2445, allocations: 1.799 MB / 484.7 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2446, allocations: 0.7097 MB / 485.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.2447, allocations: 10.17 kB / 485.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2447, allocations: 25.47 kB / 485.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2447, allocations: 0 / 485.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.2718, allocations: 2.947 MB / 488.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.907/10.18, allocations: 14.14 kB / 488.4 MB, free: 17.88 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.515089365188032] Failed to read output from testmodel.py, exit status != 0: 10.258767019957304 10.269301774 10.029917238 Calling exit ...