Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.005448/0.005448, allocations: 113.9 kB / 21.97 MB, free: 5.203 MB / 14.72 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.001554/0.001554, allocations: 210.4 kB / 25.27 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 207.6 MB / 236 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 46.59 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2555, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00373/0.2592, allocations: 3.535 MB / 400.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2607, allocations: 0.9281 MB / 401.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.261, allocations: 16.09 kB / 401.6 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.2612, allocations: 78.34 kB / 401.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.2615, allocations: 143.7 kB / 401.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.2619, allocations: 162.9 kB / 402 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.2625, allocations: 0.5978 MB / 402.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.2628, allocations: 142.9 kB / 402.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.2631, allocations: 249.5 kB / 403 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2634, allocations: 274.6 kB / 403.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.2635, allocations: 50.91 kB / 403.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.2635, allocations: 50.91 kB / 403.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2637, allocations: 120.1 kB / 403.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.2639, allocations: 273.7 kB / 403.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.2645, allocations: 0.5934 MB / 404.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2645, allocations: 4.891 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2645, allocations: 1.125 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2646, allocations: 3.938 kB / 404.3 MB, free: 4.434 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00141/0.266, allocations: 0.7778 MB / 405.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.266, allocations: 18.05 kB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.268e-05/0.266, allocations: 12.81 kB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.511e-05/0.2661, allocations: 83.84 kB / 405.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.2662, allocations: 61.94 kB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.2666, allocations: 263.8 kB / 405.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.2666, allocations: 36.72 kB / 405.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.2667, allocations: 50.61 kB / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.2676, allocations: 464.7 kB / 406.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.2676, allocations: 1.594 kB / 406.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.2677, allocations: 16.41 kB / 406.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.2677, allocations: 10.97 kB / 406.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.2687, allocations: 458.1 kB / 406.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.2708, allocations: 1.334 MB / 407.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.2717, allocations: 0.5063 MB / 408.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.2724, allocations: 346 kB / 408.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.2725, allocations: 12.88 kB / 408.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2725, allocations: 41.97 kB / 408.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.773e-06/0.2725, allocations: 5.375 kB / 408.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.006929/0.2794, allocations: 3.012 MB / 411.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.2794, allocations: 62.75 kB / 411.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.2797, allocations: 247.7 kB / 412.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2797, allocations: 41.64 kB / 412.1 MB, free: 496 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.2798, allocations: 199.6 kB / 412.3 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.2799, allocations: 369.1 kB / 412.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2801, allocations: 145.8 kB / 412.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2803, allocations: 362.1 kB / 413.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.2809, allocations: 269.7 kB / 413.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.2816, allocations: 354.4 kB / 413.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.2828, allocations: 0.6238 MB / 414.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2828, allocations: 1.438 kB / 414.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001518/0.2843, allocations: 0.7848 MB / 415.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2844, allocations: 13.19 kB / 415.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2844, allocations: 1.031 kB / 415.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2844, allocations: 4.375 kB / 415.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.2852, allocations: 211.1 kB / 415.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2852, allocations: 4.406 kB / 415.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.2855, allocations: 44.27 kB / 415.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.2856, allocations: 27.81 kB / 415.5 MB, free: 14.44 MB / 334.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 (113): * Single equations (assignments): 113 * 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.0002637/0.2859, allocations: 194.9 kB / 415.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.286, allocations: 58.64 kB / 415.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.2861, allocations: 72.23 kB / 415.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2861, allocations: 10.78 kB / 415.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.2862, allocations: 0 / 415.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2862, allocations: 7.969 kB / 415.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.2894, allocations: 1.949 MB / 417.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.2894, allocations: 4.562 kB / 417.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.2901, allocations: 206.5 kB / 418 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.2902, allocations: 11.16 kB / 418 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.2902, allocations: 26.81 kB / 418 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.2902, allocations: 14.08 kB / 418.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2902, allocations: 13.38 kB / 418.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.2925, allocations: 1.367 MB / 419.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.2926, allocations: 55.5 kB / 419.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.2926, allocations: 25.16 kB / 419.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.293, allocations: 48.17 kB / 419.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2932, allocations: 77.81 kB / 419.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.157e-05/0.2932, allocations: 36.52 kB / 419.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.2934, allocations: 176.8 kB / 419.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2934, allocations: 0 / 419.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.2939, allocations: 151.8 kB / 420 MB, free: 11.58 MB / 334.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 (103): * Single equations (assignments): 103 * 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.002684/0.2966, allocations: 1.952 MB / 421.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.298, allocations: 0.6996 MB / 422.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.298, allocations: 0 / 422.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.2988, allocations: 414.7 kB / 423 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.2996, allocations: 128.9 kB / 423.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/0.308, allocations: 5.273 MB / 428.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.3085, allocations: 0.8684 MB / 429.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.3088, allocations: 80.97 kB / 429.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.3091, allocations: 195.4 kB / 429.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3091, allocations: 0 / 429.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.3465, allocations: 12.33 MB / 441.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.37, allocations: 15.94 kB / 441.9 MB, free: 5.691 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.651740389992483] 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'] 11.526954149012454 11.541480536 11.273990392 Calling exit ...