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.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.001897/0.001897, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002397/0.002397, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.003243/0.003243, allocations: 0.5724 MB / 310.1 MB, free: 3.391 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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 60.48 kB / 430.7 MB, free: 41.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 53.48 MB / 484.2 MB, free: 19.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.002511/0.1157, allocations: 1.666 MB / 485.8 MB, free: 17.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.116, allocations: 97.33 kB / 485.9 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.1161, allocations: 9.188 kB / 485.9 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.1162, allocations: 17.08 kB / 486 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1163, allocations: 27.69 kB / 486 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.1164, allocations: 31.7 kB / 486 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1166, allocations: 101.8 kB / 486.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1167, allocations: 26.61 kB / 486.1 MB, free: 17.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.1168, allocations: 39.83 kB / 486.2 MB, free: 17.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.1169, allocations: 45.86 kB / 486.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1169, allocations: 8.094 kB / 486.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.22e-05/0.1169, allocations: 12.94 kB / 486.2 MB, free: 17.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.1169, allocations: 18.39 kB / 486.3 MB, free: 17.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.117, allocations: 53.11 kB / 486.3 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1172, allocations: 111.6 kB / 486.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1172, allocations: 0 / 486.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1172, allocations: 0 / 486.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1172, allocations: 0 / 486.4 MB, free: 17.34 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.000532/0.1177, allocations: 399.6 kB / 486.8 MB, free: 16.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1178, allocations: 9.344 kB / 486.8 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.1178, allocations: 2.875 kB / 486.8 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.1178, allocations: 41.36 kB / 486.9 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1178, allocations: 22.91 kB / 486.9 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.118, allocations: 187.7 kB / 487.1 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.118, allocations: 8.375 kB / 487.1 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1181, allocations: 9.719 kB / 487.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1183, allocations: 92.28 kB / 487.2 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1183, allocations: 4 kB / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1183, allocations: 5.344 kB / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1183, allocations: 2.625 kB / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1184, allocations: 61.45 kB / 487.3 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.119, allocations: 389 kB / 487.6 MB, free: 16.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1192, allocations: 96.05 kB / 487.7 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.1192, allocations: 36.73 kB / 487.8 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1192, allocations: 2.062 kB / 487.8 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1193, allocations: 35.8 kB / 487.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1193, allocations: 0 / 487.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001066/0.1203, allocations: 0.6844 MB / 488.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.1204, allocations: 53.16 kB / 488.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.1204, allocations: 118 kB / 488.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1205, allocations: 34.95 kB / 488.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1205, allocations: 102.9 kB / 488.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1205, allocations: 58.7 kB / 488.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1206, allocations: 36.11 kB / 488.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.1206, allocations: 321.5 kB / 489.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.1207, allocations: 33.25 kB / 489.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.1208, allocations: 60.42 kB / 489.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1209, allocations: 93.83 kB / 489.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1209, allocations: 9.094 kB / 489.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001962/0.1211, allocations: 142.9 kB / 489.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1211, allocations: 5.719 kB / 489.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1211, allocations: 5.156 kB / 489.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1211, allocations: 1.188 kB / 489.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1213, allocations: 44.25 kB / 489.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1213, allocations: 2.031 kB / 489.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.1214, allocations: 1.5 kB / 489.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1214, allocations: 8.281 kB / 489.6 MB, free: 14.48 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 (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 6.025e-05/0.1215, allocations: 122.5 kB / 489.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1215, allocations: 17.94 kB / 489.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.1215, allocations: 17.88 kB / 489.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1215, allocations: 6.109 kB / 489.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1215, allocations: 1.125 kB / 489.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1216, allocations: 0 / 489.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.1221, allocations: 0.493 MB / 490.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1221, allocations: 1.094 kB / 490.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.1222, allocations: 29.11 kB / 490.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.1223, allocations: 21.36 kB / 490.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1223, allocations: 5.938 kB / 490.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007507/0.1231, allocations: 1.372 MB / 491.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1231, allocations: 1.438 kB / 491.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1234, allocations: 300.1 kB / 492 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.1234, allocations: 89.16 kB / 492.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1234, allocations: 15.02 kB / 492.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1235, allocations: 0 / 492.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1235, allocations: 18.98 kB / 492.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1235, allocations: 4 kB / 492.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.1236, allocations: 98.11 kB / 492.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1236, allocations: 0 / 492.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1239, allocations: 29.09 kB / 492.2 MB, free: 11.94 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.0005073/0.1244, allocations: 0.8334 MB / 493 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1246, allocations: 92.88 kB / 493.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1246, allocations: 9 kB / 493.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1248, allocations: 162.8 kB / 493.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1252, allocations: 22.5 kB / 493.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1266, allocations: 1.802 MB / 495.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.1267, allocations: 0.7033 MB / 495.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.1268, allocations: 19.91 kB / 495.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.1269, allocations: 29.91 kB / 495.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1269, allocations: 0 / 495.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1496, allocations: 2.978 MB / 498.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.75, allocations: 9.281 kB / 498.9 MB, free: 7.188 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.65709659003187] Failed to read output from testmodel.py, exit status != 0: 11.108492537983693 10.910372484 10.789011518 Calling exit ...