Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001234/0.001234, allocations: 105.1 kB / 21.22 MB, free: 0.625 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.001366/0.001366, allocations: 215.8 kB / 24.52 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 7.734 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+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_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 47.91 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2345, allocations: 53.36 MB / 431.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00466/0.2392, allocations: 3.33 MB / 435.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2408, allocations: 0.912 MB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.241, allocations: 15.88 kB / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.2412, allocations: 79.16 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.2415, allocations: 166.5 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2419, allocations: 163.7 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006368/0.2425, allocations: 0.6267 MB / 437.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.2428, allocations: 152.1 kB / 437.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.2431, allocations: 259.1 kB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.2435, allocations: 290.8 kB / 437.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.2436, allocations: 52 kB / 437.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2437, allocations: 56 kB / 437.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.2438, allocations: 119.5 kB / 438 MB, free: 432 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.244, allocations: 242.9 kB / 438.3 MB, free: 188 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.2447, allocations: 0.6225 MB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2447, allocations: 4 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2447, allocations: 0 / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2447, allocations: 0 / 438.9 MB, free: 15.55 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.001436/0.2461, allocations: 0.788 MB / 439.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2462, allocations: 8.031 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.298e-05/0.2462, allocations: 13.19 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.376e-05/0.2463, allocations: 90.7 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.2465, allocations: 72.55 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.247, allocations: 285.3 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.247, allocations: 41 kB / 440.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.2471, allocations: 51.95 kB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.2479, allocations: 422.3 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2479, allocations: 4 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2479, allocations: 16 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.2479, allocations: 12 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.2486, allocations: 387.8 kB / 441.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.2509, allocations: 1.235 MB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/0.2517, allocations: 479.8 kB / 442.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.2523, allocations: 308.1 kB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.2524, allocations: 12.64 kB / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2524, allocations: 47.16 kB / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.205e-06/0.2524, allocations: 0 / 443.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006533/0.259, allocations: 2.875 MB / 446 MB, free: 8.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.259, allocations: 60.41 kB / 446.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.2593, allocations: 280.5 kB / 446.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.2594, allocations: 45.7 kB / 446.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2595, allocations: 213.6 kB / 446.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.2598, allocations: 376.7 kB / 447 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.26, allocations: 154.6 kB / 447.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2602, allocations: 366.7 kB / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.2607, allocations: 237.9 kB / 447.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.2611, allocations: 317.4 kB / 448 MB, free: 6.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.2621, allocations: 0.5727 MB / 448.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2621, allocations: 0 / 448.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001204/0.2633, allocations: 0.7354 MB / 449.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2633, allocations: 4 kB / 449.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2633, allocations: 3.984 kB / 449.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2633, allocations: 8 kB / 449.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.2641, allocations: 199.7 kB / 449.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2641, allocations: 4 kB / 449.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.2644, allocations: 27.98 kB / 449.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.2645, allocations: 36.05 kB / 449.6 MB, free: 4.605 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.0002731/0.2647, allocations: 209.5 kB / 449.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/0.2648, allocations: 55.67 kB / 449.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.265, allocations: 77.62 kB / 449.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.265, allocations: 12 kB / 449.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.265, allocations: 0 / 449.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.2651, allocations: 3.984 kB / 449.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.2678, allocations: 1.805 MB / 451.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.2678, allocations: 4.594 kB / 451.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.2686, allocations: 195.7 kB / 451.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.2686, allocations: 8 kB / 452 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/0.2686, allocations: 28 kB / 452 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.2686, allocations: 8 kB / 452 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.2686, allocations: 11.94 kB / 452 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.2705, allocations: 1.295 MB / 453.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.2706, allocations: 63.61 kB / 453.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.2706, allocations: 24.06 kB / 453.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.271, allocations: 31.98 kB / 453.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2711, allocations: 80.75 kB / 453.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.2712, allocations: 31.98 kB / 453.5 MB, free: 492 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.2713, allocations: 195.1 kB / 453.7 MB, free: 300 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2713, allocations: 0 / 453.7 MB, free: 300 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.2718, allocations: 160 kB / 453.9 MB, free: 140 kB / 350.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.002155/0.274, allocations: 1.87 MB / 455.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.2751, allocations: 0.6294 MB / 456.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2751, allocations: 0 / 456.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.2757, allocations: 389.9 kB / 456.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.2765, allocations: 149 kB / 456.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.2837, allocations: 5.258 MB / 462.2 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.284, allocations: 284.8 kB / 462.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.2843, allocations: 77.2 kB / 462.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.2846, allocations: 219.4 kB / 462.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2847, allocations: 0 / 462.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.323, allocations: 13.31 MB / 476 MB, free: 9.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.6, allocations: 23.22 kB / 476 MB, free: 9.922 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.83624520408921] 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.760470320936292 11.775038235 11.527485124 Calling exit ...