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.001269/0.001269, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001378/0.001378, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001636/0.001636, allocations: 47.92 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2693, allocations: 53.35 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00478/0.274, allocations: 3.69 MB / 435.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2756, allocations: 0.9587 MB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2757, allocations: 11.94 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.2759, allocations: 87.09 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.2762, allocations: 158.6 kB / 436.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.2767, allocations: 171.7 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.2773, allocations: 0.6267 MB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.2776, allocations: 146 kB / 437.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.2779, allocations: 259.1 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.2783, allocations: 282.8 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.2783, allocations: 52 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2784, allocations: 55.98 kB / 438.4 MB, free: 368 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2785, allocations: 127.5 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.2788, allocations: 286.7 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.2795, allocations: 0.627 MB / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2795, allocations: 0 / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2795, allocations: 0 / 439.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2795, allocations: 0 / 439.4 MB, free: 15.33 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.001463/0.2809, allocations: 0.7737 MB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.281, allocations: 16.03 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.259e-05/0.281, allocations: 13.19 kB / 440.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.529e-05/0.2811, allocations: 86.7 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.2813, allocations: 72.5 kB / 440.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.2817, allocations: 293.3 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.2818, allocations: 37 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.2819, allocations: 51.95 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.2826, allocations: 422.4 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.2826, allocations: 4 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.2826, allocations: 20 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.2827, allocations: 8 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.2834, allocations: 387.8 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.2857, allocations: 1.348 MB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.2864, allocations: 479.2 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006554/0.2871, allocations: 312.1 kB / 443.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.2871, allocations: 8.656 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2872, allocations: 47.08 kB / 443.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.753e-06/0.2872, allocations: 4 kB / 443.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006409/0.2936, allocations: 2.864 MB / 446.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2936, allocations: 60.41 kB / 446.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.294, allocations: 280.5 kB / 446.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.2941, allocations: 45.7 kB / 447 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2943, allocations: 205.6 kB / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.2945, allocations: 372.7 kB / 447.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.2947, allocations: 158.6 kB / 447.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.2949, allocations: 366.7 kB / 448.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.2954, allocations: 241.9 kB / 448.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.2959, allocations: 313.4 kB / 448.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009338/0.2968, allocations: 0.5767 MB / 449.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2968, allocations: 0 / 449.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001242/0.298, allocations: 0.7392 MB / 449.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2981, allocations: 8 kB / 449.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2981, allocations: 0 / 449.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.2981, allocations: 8 kB / 449.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.2988, allocations: 199.7 kB / 450.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.2988, allocations: 8 kB / 450.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.2991, allocations: 28.05 kB / 450.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.2992, allocations: 28 kB / 450.2 MB, free: 4.277 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.0002491/0.2994, allocations: 205.5 kB / 450.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.2995, allocations: 55.67 kB / 450.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.2997, allocations: 77.62 kB / 450.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2997, allocations: 12 kB / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.2997, allocations: 3.984 kB / 450.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2997, allocations: 3.984 kB / 450.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.3026, allocations: 1.906 MB / 452.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.3026, allocations: 4 kB / 452.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.3034, allocations: 199.7 kB / 452.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.3034, allocations: 8 kB / 452.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.3035, allocations: 28 kB / 452.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.3035, allocations: 15.92 kB / 452.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3035, allocations: 4 kB / 452.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.3055, allocations: 1.295 MB / 454 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3056, allocations: 63.67 kB / 454.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.3057, allocations: 24 kB / 454.1 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.306, allocations: 31.98 kB / 454.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3062, allocations: 84.73 kB / 454.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.3062, allocations: 32 kB / 454.2 MB, free: 48 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3065, allocations: 199.1 kB / 454.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3065, allocations: 0 / 454.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.307, allocations: 160 kB / 454.6 MB, free: 15.69 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.002379/0.3094, allocations: 1.866 MB / 456.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3105, allocations: 0.6255 MB / 457.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3106, allocations: 0 / 457.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.3112, allocations: 393.8 kB / 457.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.312, allocations: 155.7 kB / 457.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/0.3196, allocations: 5.256 MB / 462.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.3202, allocations: 0.8803 MB / 463.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.3205, allocations: 85.2 kB / 463.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.3208, allocations: 215.4 kB / 464 MB, free: 5.918 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3208, allocations: 0 / 464 MB, free: 5.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.3612, allocations: 13.09 MB / 477.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.76, allocations: 7.375 kB / 477.1 MB, free: 9.055 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: 14.082762538979296] 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.918676872970536 11.933219872 11.65079825 Calling exit ...