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.001531/0.001531, allocations: 103.7 kB / 21.96 MB, free: 5.219 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.001638/0.001638, allocations: 214 kB / 25.26 MB, free: 3.129 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.296/1.296, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] 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.001789/0.001789, allocations: 54.58 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004354/0.2659, allocations: 3.189 MB / 400.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2675, allocations: 0.8842 MB / 401.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.2678, allocations: 11.41 kB / 401.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.268, allocations: 82.16 kB / 401.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2683, allocations: 147 kB / 401.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.2688, allocations: 159.9 kB / 401.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.2694, allocations: 0.5923 MB / 402.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.2696, allocations: 142.1 kB / 402.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.2699, allocations: 249.9 kB / 402.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.2702, allocations: 274.2 kB / 402.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.2703, allocations: 50.25 kB / 402.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.2704, allocations: 51.94 kB / 402.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.2705, allocations: 123.2 kB / 403.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.2707, allocations: 226.6 kB / 403.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.2712, allocations: 0.6051 MB / 403.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2712, allocations: 0 / 403.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2712, allocations: 0 / 403.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2712, allocations: 0.9688 kB / 403.9 MB, free: 4.793 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.001409/0.2727, allocations: 0.7856 MB / 404.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2727, allocations: 14.11 kB / 404.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.455e-05/0.2727, allocations: 13.41 kB / 404.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.315e-05/0.2728, allocations: 92.64 kB / 404.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.2729, allocations: 56.11 kB / 404.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.2733, allocations: 268.7 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.2733, allocations: 35.62 kB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.2734, allocations: 52.2 kB / 405.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.2743, allocations: 451.1 kB / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.2743, allocations: 3.562 kB / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2743, allocations: 19.69 kB / 405.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2743, allocations: 10.41 kB / 405.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.2753, allocations: 462.9 kB / 406.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.2772, allocations: 1.24 MB / 407.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.2781, allocations: 0.5034 MB / 407.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.2787, allocations: 343.7 kB / 408.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.2788, allocations: 12.78 kB / 408.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2788, allocations: 44.61 kB / 408.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/0.2788, allocations: 0 / 408.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.006819/0.2856, allocations: 3.004 MB / 411.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2857, allocations: 61.91 kB / 411.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.2859, allocations: 255.8 kB / 411.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.2859, allocations: 45.69 kB / 411.6 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.286, allocations: 197.5 kB / 411.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2861, allocations: 367.8 kB / 412.2 MB, free: 400 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.2863, allocations: 144.9 kB / 412.3 MB, free: 308 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2864, allocations: 362.1 kB / 412.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.287, allocations: 274.3 kB / 412.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.2876, allocations: 352.2 kB / 413.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2887, allocations: 0.6131 MB / 413.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2887, allocations: 0 / 413.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00147/0.2902, allocations: 0.7887 MB / 414.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.2902, allocations: 10.06 kB / 414.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2902, allocations: 1.281 kB / 414.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2903, allocations: 7.531 kB / 414.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/0.291, allocations: 210.7 kB / 414.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.291, allocations: 8.484 kB / 414.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.2914, allocations: 45.17 kB / 415 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.2914, allocations: 30.45 kB / 415 MB, free: 14.84 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.0002616/0.2917, allocations: 192.2 kB / 415.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/0.2918, allocations: 62.39 kB / 415.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.2919, allocations: 73.11 kB / 415.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.2919, allocations: 10.28 kB / 415.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.292, allocations: 0 / 415.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.292, allocations: 7.922 kB / 415.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.2952, allocations: 1.835 MB / 417.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.2952, allocations: 4.688 kB / 417.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/0.296, allocations: 205.2 kB / 417.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.296, allocations: 12.38 kB / 417.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.2961, allocations: 22.88 kB / 417.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.2961, allocations: 16.73 kB / 417.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2961, allocations: 9 kB / 417.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.2985, allocations: 1.372 MB / 418.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2986, allocations: 62.77 kB / 418.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.2987, allocations: 25.78 kB / 418.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.299, allocations: 47.52 kB / 418.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2992, allocations: 84.41 kB / 419 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.2992, allocations: 27.84 kB / 419 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.2994, allocations: 181.6 kB / 419.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2994, allocations: 0 / 419.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005417/0.2999, allocations: 154.9 kB / 419.4 MB, free: 12.1 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.002623/0.3026, allocations: 1.946 MB / 421.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.304, allocations: 0.7035 MB / 422 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.304, allocations: 4 kB / 422 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.3048, allocations: 410.7 kB / 422.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.3056, allocations: 120.7 kB / 422.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/0.3135, allocations: 5.281 MB / 427.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3137, allocations: 268.5 kB / 428.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.314, allocations: 76.97 kB / 428.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.3143, allocations: 203.3 kB / 428.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3143, allocations: 0 / 428.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.352, allocations: 12.5 MB / 440.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.51, allocations: 15.94 kB / 440.9 MB, free: 6.527 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.706778730032966] 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.682481671916321 11.696537273 11.422474234 Calling exit ...