Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 105 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 209.7 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.94 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 75.86 kB / 0.4969 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3025, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004702/0.3073, allocations: 3.173 MB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3093, allocations: 1.087 MB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.3096, allocations: 11.94 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3098, allocations: 63.42 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.3101, allocations: 126.9 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.3107, allocations: 183.5 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005718/0.3112, allocations: 469.7 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.3114, allocations: 81.91 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.3117, allocations: 175.4 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.3119, allocations: 191.2 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.312, allocations: 32 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3121, allocations: 55.92 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.3122, allocations: 75.69 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3124, allocations: 199 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.313, allocations: 454.1 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.313, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.313, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.313, allocations: 3.938 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001207/0.3142, allocations: 0.6299 MB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3142, allocations: 12.03 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.3143, allocations: 70.72 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.3147, allocations: 72.64 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.3151, allocations: 236.9 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.3151, allocations: 25.38 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.3152, allocations: 40.12 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.3159, allocations: 367.5 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.3159, allocations: 7.953 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.3159, allocations: 16 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3159, allocations: 8 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.3165, allocations: 251.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3188, allocations: 1.475 MB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.3195, allocations: 399.6 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.3198, allocations: 121.1 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3198, allocations: 8 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3198, allocations: 46.5 kB / 0.5713 GB, free: 9.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.145e-06/0.3198, allocations: 0 / 0.5713 GB, free: 9.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003225/0.3231, allocations: 1.543 MB / 0.5728 GB, free: 8.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.3232, allocations: 195.9 kB / 0.573 GB, free: 7.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.3235, allocations: 248.2 kB / 0.5733 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.3235, allocations: 33.64 kB / 0.5733 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3236, allocations: 212.7 kB / 0.5735 GB, free: 7.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3238, allocations: 190.4 kB / 0.5737 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3239, allocations: 98.3 kB / 0.5738 GB, free: 7.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3241, allocations: 346.8 kB / 0.5741 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3244, allocations: 121.2 kB / 0.5742 GB, free: 6.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.3248, allocations: 292 kB / 0.5745 GB, free: 6.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.3255, allocations: 466 kB / 0.5749 GB, free: 5.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3255, allocations: 0 / 0.5749 GB, free: 5.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009036/0.3264, allocations: 0.4933 MB / 0.5754 GB, free: 5.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3264, allocations: 4 kB / 0.5754 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3264, allocations: 11.94 kB / 0.5754 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3264, allocations: 8 kB / 0.5754 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.327, allocations: 147.7 kB / 0.5756 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.327, allocations: 15.92 kB / 0.5756 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3272, allocations: 19.95 kB / 0.5756 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.3273, allocations: 28 kB / 0.5757 GB, free: 5.102 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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 0.0001957/0.3275, allocations: 174.7 kB / 0.5758 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3276, allocations: 39.77 kB / 0.5759 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.3279, allocations: 123.3 kB / 0.576 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3279, allocations: 8 kB / 0.576 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3279, allocations: 3.938 kB / 0.576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3279, allocations: 7.984 kB / 0.576 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.3299, allocations: 1.217 MB / 0.5772 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3299, allocations: 4 kB / 0.5772 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/0.3305, allocations: 115.9 kB / 0.5773 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.3305, allocations: 4 kB / 0.5773 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.3306, allocations: 16 kB / 0.5773 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.3306, allocations: 11.94 kB / 0.5773 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3306, allocations: 4 kB / 0.5773 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.3317, allocations: 1.013 MB / 0.5783 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.3318, allocations: 35.81 kB / 0.5784 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.3318, allocations: 12 kB / 0.5784 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3322, allocations: 19.98 kB / 0.5784 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.3323, allocations: 43.81 kB / 0.5784 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3323, allocations: 16 kB / 0.5784 GB, free: 2.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3325, allocations: 179.1 kB / 0.5786 GB, free: 1.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3325, allocations: 0 / 0.5786 GB, free: 1.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006539/0.3332, allocations: 100 kB / 0.5787 GB, free: 1.812 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.001472/0.3347, allocations: 1.573 MB / 0.5802 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006817/0.3353, allocations: 331.9 kB / 0.5806 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3353, allocations: 4.062 kB / 0.5806 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.3357, allocations: 159.7 kB / 0.5807 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3367, allocations: 104.5 kB / 0.5808 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/0.343, allocations: 4.65 MB / 0.5854 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.3435, allocations: 0.812 MB / 0.5861 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.3437, allocations: 51.31 kB / 0.5862 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3439, allocations: 135.4 kB / 0.5863 GB, free: 9.625 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3439, allocations: 0 / 0.5863 GB, free: 9.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3785, allocations: 8.13 MB / 0.5943 GB, free: 1.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.979/9.357, allocations: 15.67 kB / 0.5943 GB, free: 1.586 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.000399521 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.145689728204161] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'mass3.s', 'mass3.v', 'mass4.s', 'mass4.v', 'mass5.s', 'mass5.v', 'mass6.s', 'mass6.v'] 9.436780241318047 9.460205227 9.142315007 Calling exit ...