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.0008933/0.0008933, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001006/0.001006, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9154/0.9154, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.002676/0.002676, allocations: 418.8 kB / 259.6 MB, free: 12.84 MB / 250.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.301e-05, allocations: 5.375 kB / 381.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001288/0.001311, allocations: 0.5228 MB / 382.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.001485, allocations: 19.91 kB / 382.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.001511, allocations: 0 / 382.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.001531, allocations: 3.938 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.001567, allocations: 3.938 kB / 382.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.001707, allocations: 7.984 kB / 382.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.001774, allocations: 15.98 kB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.001824, allocations: 0 / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.001869, allocations: 19.92 kB / 382.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.001927, allocations: 15.91 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.001947, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.001955, allocations: 4 kB / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.001968, allocations: 0 / 382.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.001986, allocations: 4 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 5.941e-05/0.002046, allocations: 15.91 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002048, allocations: 4 kB / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.002049, allocations: 0 / 382.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.002055, allocations: 0 / 382.4 MB, free: 15.47 MB / 362.7 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.0003497/0.002404, allocations: 262.3 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.002449, allocations: 12.03 kB / 382.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.002482, allocations: 30.75 kB / 382.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.002508, allocations: 4.938 kB / 382.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.14e-05/0.0026, allocations: 105.8 kB / 382.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.002613, allocations: 4.375 kB / 382.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.002637, allocations: 4.328 kB / 382.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.002743, allocations: 46.25 kB / 382.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.002755, allocations: 192 / 382.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.002767, allocations: 8.359 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.002773, allocations: 4.125 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.002813, allocations: 15.94 kB / 382.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.003195, allocations: 232 kB / 383.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.00329, allocations: 38.64 kB / 383.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.003314, allocations: 16.88 kB / 383.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.003326, allocations: 3.938 kB / 383.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.003348, allocations: 34.56 kB / 383.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.003349, allocations: 0 / 383.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003261/0.003675, allocations: 86.45 kB / 383.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.003703, allocations: 55.41 kB / 383.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.96e-05/0.003753, allocations: 101.8 kB / 383.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.003763, allocations: 29.7 kB / 383.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.003798, allocations: 80.14 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.003818, allocations: 31.7 kB / 383.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.003843, allocations: 13.72 kB / 383.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.003919, allocations: 314.8 kB / 383.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.003935, allocations: 7.984 kB / 383.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.003964, allocations: 21.72 kB / 383.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.004009, allocations: 37.77 kB / 384 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.004013, allocations: 4 kB / 384 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001135/0.004127, allocations: 78.48 kB / 384.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.004142, allocations: 8 kB / 384.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.004148, allocations: 0 / 384.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.004283, allocations: 16.84 kB / 384.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.004334, allocations: 7.938 kB / 384.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.005406, allocations: 1.244 MB / 385.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.00542, allocations: 4.031 kB / 385.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.005426, allocations: 3.938 kB / 385.3 MB, free: 12.21 MB / 362.7 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 7.588e-05/0.005502, allocations: 113.8 kB / 385.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.005517, allocations: 7.891 kB / 385.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.005534, allocations: 7.688 kB / 385.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005535, allocations: 0 / 385.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.005539, allocations: 4 kB / 385.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005542, allocations: 432 / 385.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.774e-05/0.00564, allocations: 128.7 kB / 385.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.005641, allocations: 4.062 kB / 385.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.005673, allocations: 4 kB / 385.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-05/0.005738, allocations: 20.78 kB / 385.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.005745, allocations: 0 / 385.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006049/0.00635, allocations: 1.248 MB / 386.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006352, allocations: 0 / 386.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.006487, allocations: 184.4 kB / 387.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.006492, allocations: 0 / 387.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-06/0.006497, allocations: 4.031 kB / 387.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.00653, allocations: 4 kB / 387.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.00655, allocations: 7.922 kB / 387.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006554, allocations: 0 / 387.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.833e-05/0.006582, allocations: 79.28 kB / 387.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006582, allocations: 0 / 387.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000157/0.006739, allocations: 15.94 kB / 387.2 MB, free: 10.2 MB / 362.7 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.0003357/0.007075, allocations: 0.7016 MB / 387.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.007333, allocations: 142.6 kB / 388 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.007335, allocations: 0 / 388 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.007414, allocations: 134.6 kB / 388.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.007581, allocations: 4.594 kB / 388.1 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.008426, allocations: 1.276 MB / 389.4 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.597e-05/0.008482, allocations: 75.5 kB / 389.5 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.554e-05/0.008508, allocations: 3.984 kB / 389.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.00855, allocations: 16.48 kB / 389.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008551, allocations: 0 / 389.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.03129, allocations: 2.175 MB / 391.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.545, allocations: 9.375 kB / 391.7 MB, free: 5.703 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.344484746456146] Failed to read output from testmodel.py, exit status != 0: 7.627066342160106 7.635439771 7.631629498 Calling exit ...