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.001108/0.001108, 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.001282/0.001282, allocations: 169.9 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.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.00215/0.00215, allocations: 419.6 kB / 259.6 MB, free: 12.82 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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 381.8 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.567e-05, allocations: 2.281 kB / 381.8 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002188/0.002214, allocations: 1.614 MB / 383.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.002492, allocations: 95.62 kB / 383.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.002548, allocations: 4 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.002599, allocations: 11.86 kB / 383.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.002695, allocations: 39.64 kB / 383.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.002822, allocations: 23.97 kB / 383.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.002926, allocations: 111.5 kB / 383.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003045, allocations: 19.98 kB / 383.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.003135, allocations: 67.86 kB / 383.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.00321, allocations: 31.89 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.003235, allocations: 8 kB / 383.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.003249, allocations: 8 kB / 383.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003272, allocations: 23.94 kB / 383.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.003307, allocations: 35.91 kB / 383.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.00346, allocations: 115.6 kB / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.003463, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.003465, allocations: 0 / 384 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.00347, allocations: 0 / 384 MB, free: 13.91 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004067/0.003876, allocations: 325 kB / 384.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.003916, allocations: 8.031 kB / 384.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.003953, allocations: 50.73 kB / 384.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.003979, allocations: 8.891 kB / 384.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.004113, allocations: 129.6 kB / 384.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.004124, allocations: 8.562 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.004148, allocations: 12.38 kB / 384.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.004295, allocations: 93.53 kB / 384.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.004308, allocations: 0 / 384.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004319, allocations: 8 kB / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004324, allocations: 0 / 384.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.004408, allocations: 55.97 kB / 384.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.004823, allocations: 347.8 kB / 385 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.004959, allocations: 102.4 kB / 385.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.005005, allocations: 36.8 kB / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.005017, allocations: 0 / 385.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.005038, allocations: 30.56 kB / 385.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.005039, allocations: 4 kB / 385.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007948/0.005834, allocations: 0.5271 MB / 385.7 MB, free: 12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.005868, allocations: 59.33 kB / 385.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.005944, allocations: 129.7 kB / 385.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.005958, allocations: 33.7 kB / 385.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.006013, allocations: 104.3 kB / 386 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.006042, allocations: 59.47 kB / 386.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.00608, allocations: 33.72 kB / 386.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.006157, allocations: 318.8 kB / 386.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.006197, allocations: 35.98 kB / 386.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.006254, allocations: 54.56 kB / 386.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.006352, allocations: 98.5 kB / 386.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006354, allocations: 4 kB / 386.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001783/0.006532, allocations: 171.6 kB / 386.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006545, allocations: 4 kB / 386.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.006551, allocations: 4 kB / 386.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.006665, allocations: 28.78 kB / 386.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.006745, allocations: 23.98 kB / 386.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.007878, allocations: 1.516 MB / 388.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.007905, allocations: 4 kB / 388.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.007913, allocations: 4 kB / 388.4 MB, free: 9.133 MB / 362.7 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 7.935e-05/0.007992, allocations: 121.8 kB / 388.5 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.008013, allocations: 15.89 kB / 388.5 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.008034, allocations: 12.78 kB / 388.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008037, allocations: 4 kB / 388.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.008043, allocations: 3.984 kB / 388.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008046, allocations: 0 / 388.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.008481, allocations: 456.9 kB / 389 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.008484, allocations: 0 / 389 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.008563, allocations: 27.92 kB / 389 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.607e-05/0.008619, allocations: 20.86 kB / 389 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.008628, allocations: 7.938 kB / 389 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006109/0.009239, allocations: 1.271 MB / 390.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.009242, allocations: 4.031 kB / 390.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.009473, allocations: 309.7 kB / 390.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.009484, allocations: 7.984 kB / 390.6 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.009492, allocations: 4 kB / 390.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.277e-05/0.009535, allocations: 4 kB / 390.6 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.00956, allocations: 15.97 kB / 390.6 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.009569, allocations: 11.94 kB / 390.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.009614, allocations: 101 kB / 390.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009614, allocations: 4 kB / 390.7 MB, free: 6.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.009821, allocations: 28 kB / 390.8 MB, free: 6.516 MB / 362.7 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.0004147/0.01024, allocations: 0.8251 MB / 391.6 MB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.01054, allocations: 215.8 kB / 391.8 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01054, allocations: 3.938 kB / 391.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01064, allocations: 174.7 kB / 392 MB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.01096, allocations: 24.58 kB / 392 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.01234, allocations: 1.78 MB / 393.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.01241, allocations: 96.8 kB / 393.9 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.01246, allocations: 13.14 kB / 393.9 MB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.0125, allocations: 28.5 kB / 393.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01251, allocations: 0 / 393.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.03286, allocations: 3.669 MB / 397.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.72, allocations: 7.594 kB / 397.6 MB, free: 15.71 MB / 378.7 MB " [Timeout remaining time 652] (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: 9.411973144859076] Failed to read output from testmodel.py, exit status != 0: 7.8047008300200105 7.818548751 7.812901123 Calling exit ...