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.001279/0.001279, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.001469/0.001469, allocations: 213.7 kB / 22.99 MB, free: 5.582 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.43/1.43, allocations: 230.5 MB / 256.5 MB, free: 8.176 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.001918/0.001918, allocations: 63.91 kB / 376.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2641, allocations: 53.31 MB / 429.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005242/0.2693, allocations: 3.683 MB / 433.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2713, allocations: 0.9549 MB / 434.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.2716, allocations: 11.94 kB / 434.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.2718, allocations: 83.16 kB / 434.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.2722, allocations: 166.5 kB / 434.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.2727, allocations: 163.7 kB / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007249/0.2734, allocations: 0.6307 MB / 435.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.2738, allocations: 145.5 kB / 435.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.2742, allocations: 251.1 kB / 435.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.2747, allocations: 282.8 kB / 435.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/0.2748, allocations: 56 kB / 435.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.2749, allocations: 56 kB / 436 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2751, allocations: 123.5 kB / 436.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.2754, allocations: 286.6 kB / 436.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2764, allocations: 0.6266 MB / 437 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.2764, allocations: 0 / 437 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.2764, allocations: 0 / 437 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2764, allocations: 0 / 437 MB, free: 15.91 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.001805/0.2782, allocations: 0.8596 MB / 437.9 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.2783, allocations: 8.031 kB / 437.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.2784, allocations: 90.7 kB / 438 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.2786, allocations: 68.56 kB / 438 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.2792, allocations: 358.7 kB / 438.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.2793, allocations: 33 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.2794, allocations: 59.95 kB / 438.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.2802, allocations: 418.4 kB / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.2802, allocations: 0 / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.2802, allocations: 20 kB / 438.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2803, allocations: 12 kB / 438.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.281, allocations: 387.8 kB / 439.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.2835, allocations: 1.383 MB / 440.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.2843, allocations: 483.3 kB / 441.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/0.285, allocations: 307.2 kB / 441.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.285, allocations: 12.66 kB / 441.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.2851, allocations: 43.16 kB / 441.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.134e-06/0.2851, allocations: 0 / 441.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006965/0.292, allocations: 3.021 MB / 444.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2921, allocations: 60.41 kB / 444.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.2924, allocations: 280.6 kB / 444.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.2925, allocations: 41.7 kB / 444.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.2927, allocations: 209.5 kB / 445.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.293, allocations: 376.7 kB / 445.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.2932, allocations: 150.7 kB / 445.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.2934, allocations: 366.8 kB / 446 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.2939, allocations: 237.9 kB / 446.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.2944, allocations: 313.4 kB / 446.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2955, allocations: 0.5805 MB / 447.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.2955, allocations: 0 / 447.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001297/0.2968, allocations: 0.7393 MB / 447.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2968, allocations: 8 kB / 447.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2968, allocations: 0 / 447.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.2968, allocations: 7.938 kB / 447.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.2976, allocations: 199.7 kB / 448 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.2976, allocations: 8 kB / 448 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.2979, allocations: 32.05 kB / 448.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.298, allocations: 24 kB / 448.1 MB, free: 4.465 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.0002813/0.2982, allocations: 205.5 kB / 448.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2983, allocations: 55.67 kB / 448.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.2985, allocations: 77.62 kB / 448.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.2986, allocations: 19.94 kB / 448.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.2986, allocations: 0 / 448.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.2986, allocations: 11.97 kB / 448.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.3017, allocations: 1.945 MB / 450.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.3017, allocations: 7.984 kB / 450.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.3025, allocations: 191.7 kB / 450.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.3025, allocations: 8 kB / 450.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.3026, allocations: 27.98 kB / 450.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.3026, allocations: 11.94 kB / 450.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3026, allocations: 4 kB / 450.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3046, allocations: 1.303 MB / 452 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3048, allocations: 128.7 kB / 452.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.3048, allocations: 32.05 kB / 452.1 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3052, allocations: 27.98 kB / 452.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3053, allocations: 80.8 kB / 452.2 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.3054, allocations: 31.98 kB / 452.3 MB, free: 100 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3056, allocations: 195.1 kB / 452.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3056, allocations: 0 / 452.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.3061, allocations: 156 kB / 452.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.002373/0.3085, allocations: 1.866 MB / 454.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3098, allocations: 0.6333 MB / 455.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3098, allocations: 0 / 455.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.3104, allocations: 397.7 kB / 455.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.3113, allocations: 143.5 kB / 455.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008726/0.3201, allocations: 5.264 MB / 460.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.3207, allocations: 0.8764 MB / 461.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.3211, allocations: 89.19 kB / 461.9 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.3214, allocations: 215.4 kB / 462.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3214, allocations: 0 / 462.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04565/0.3671, allocations: 12.41 MB / 474.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/9.214, allocations: 14.19 kB / 474.5 MB, free: 9.715 MB / 382.1 MB " [Timeout remaining time 651] (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 --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: 11.507568967004772] 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.29301413401845 9.320144818 9.039000532 Calling exit ...