Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.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.001983/0.001983, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002/0.002, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002472/0.002472, allocations: 72.75 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3359, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005065/0.341, allocations: 3.672 MB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.343, allocations: 0.9626 MB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.3432, allocations: 15.88 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3435, allocations: 83.16 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.3438, allocations: 158.5 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.3443, allocations: 175.6 kB / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006987/0.345, allocations: 0.6306 MB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.3453, allocations: 146 kB / 437.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.3456, allocations: 255.1 kB / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.346, allocations: 290.8 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.3461, allocations: 48 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3462, allocations: 56 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3463, allocations: 131.5 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.3466, allocations: 286.6 kB / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.3473, allocations: 0.6194 MB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3473, allocations: 4 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3473, allocations: 0 / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3473, allocations: 0 / 439.4 MB, free: 15.38 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001453/0.3488, allocations: 0.7737 MB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3488, allocations: 12.03 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.3489, allocations: 90.7 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.3491, allocations: 68.56 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.3496, allocations: 289.5 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.3497, allocations: 37 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.3498, allocations: 55.95 kB / 440.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.3505, allocations: 422.4 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3505, allocations: 4 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.3506, allocations: 16 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3506, allocations: 12 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.3513, allocations: 395.7 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.3536, allocations: 1.34 MB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.3544, allocations: 487.2 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.3551, allocations: 308.1 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.3551, allocations: 16.64 kB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3552, allocations: 43.14 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.564e-06/0.3552, allocations: 0 / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006414/0.3616, allocations: 2.861 MB / 446.6 MB, free: 8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3617, allocations: 60.41 kB / 446.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.362, allocations: 284.5 kB / 446.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.362, allocations: 45.64 kB / 447 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3622, allocations: 205.6 kB / 447.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.3625, allocations: 380.7 kB / 447.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.3627, allocations: 146.7 kB / 447.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3629, allocations: 366.8 kB / 448 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.3634, allocations: 237.9 kB / 448.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.3639, allocations: 313.4 kB / 448.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.3649, allocations: 0.5843 MB / 449.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3649, allocations: 4 kB / 449.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001249/0.3661, allocations: 0.7354 MB / 449.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3661, allocations: 6.812 kB / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3661, allocations: 4 kB / 449.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.3662, allocations: 7.938 kB / 449.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.367, allocations: 199.7 kB / 450.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.367, allocations: 4 kB / 450.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.3673, allocations: 36.05 kB / 450.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.3674, allocations: 24 kB / 450.2 MB, free: 4.336 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: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.000309/0.3677, allocations: 209.5 kB / 450.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3678, allocations: 55.67 kB / 450.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3679, allocations: 77.62 kB / 450.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.368, allocations: 15.98 kB / 450.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.368, allocations: 0 / 450.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.368, allocations: 3.984 kB / 450.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.3709, allocations: 1.895 MB / 452.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.371, allocations: 12.11 kB / 452.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.3717, allocations: 199.7 kB / 452.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.3717, allocations: 8 kB / 452.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.3718, allocations: 27.98 kB / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.3718, allocations: 8 kB / 452.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.3718, allocations: 7.938 kB / 452.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3737, allocations: 1.299 MB / 454 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3738, allocations: 59.48 kB / 454 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.3739, allocations: 28.06 kB / 454.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.3742, allocations: 27.98 kB / 454.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3743, allocations: 88.73 kB / 454.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.3744, allocations: 32 kB / 454.2 MB, free: 112 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3746, allocations: 199.1 kB / 454.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3746, allocations: 0 / 454.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005483/0.3752, allocations: 156 kB / 454.6 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * 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.002267/0.3774, allocations: 1.871 MB / 456.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3786, allocations: 0.6255 MB / 457.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3786, allocations: 0 / 457.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.3793, allocations: 394.3 kB / 457.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.3802, allocations: 135.8 kB / 457.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007909/0.3881, allocations: 5.273 MB / 462.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3886, allocations: 0.8803 MB / 463.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.389, allocations: 81.2 kB / 463.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.3893, allocations: 215.4 kB / 464 MB, free: 5.984 MB / 366.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3893, allocations: 0 / 464 MB, free: 5.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.4373, allocations: 12.95 MB / 477 MB, free: 9.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.127/9.565, allocations: 6.906 kB / 477 MB, free: 9.207 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.020129482261837] Failed to read output from testmodel.py, exit status != 0: ['time', 'friction.v_rel', 'innerContactA.s_rel', 'innerContactB.s_rel', 'outerContactA.v_rel', 'outerContactB.s_rel', 'outerContactB.v_rel'] 9.645328233018517 9.673099665 9.319983428 Calling exit ...