Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001303/0.001303, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001416/0.001416, allocations: 210.7 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.89 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2448, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005417/0.2502, allocations: 3.684 MB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2523, allocations: 0.9587 MB / 436.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.2526, allocations: 15.88 kB / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.2528, allocations: 83.16 kB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.2532, allocations: 170.5 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.2537, allocations: 159.7 kB / 437 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007259/0.2544, allocations: 0.6306 MB / 437.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.2547, allocations: 142 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.2551, allocations: 259.1 kB / 438 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.2554, allocations: 290.8 kB / 438.3 MB, free: 288 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.2555, allocations: 51.94 kB / 438.4 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.2556, allocations: 56 kB / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2557, allocations: 127.5 kB / 438.6 MB, free: 52 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.256, allocations: 278.7 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007204/0.2567, allocations: 0.631 MB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2568, allocations: 0 / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2568, allocations: 0 / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.2568, allocations: 0 / 439.5 MB, free: 15.15 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.001524/0.2583, allocations: 0.7776 MB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2583, allocations: 8.031 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.82e-05/0.2584, allocations: 17.19 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.704e-05/0.2585, allocations: 86.7 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.2587, allocations: 72.55 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.2592, allocations: 293.3 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.2592, allocations: 37 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.2593, allocations: 51.95 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.2601, allocations: 422.3 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.2601, allocations: 0 / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.2602, allocations: 20 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.2602, allocations: 12 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.2609, allocations: 387.8 kB / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.2634, allocations: 1.344 MB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.2642, allocations: 479.2 kB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.2649, allocations: 308.3 kB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.265, allocations: 12.64 kB / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.265, allocations: 43.16 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 3.737e-06/0.265, allocations: 0 / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006986/0.272, allocations: 2.866 MB / 446.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.2721, allocations: 68.39 kB / 446.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.2724, allocations: 280.5 kB / 447 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.2725, allocations: 41.7 kB / 447 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2726, allocations: 209.6 kB / 447.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.2729, allocations: 380.7 kB / 447.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.2732, allocations: 150.7 kB / 447.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.2734, allocations: 370.7 kB / 448.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.2738, allocations: 233.9 kB / 448.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.2743, allocations: 317.4 kB / 448.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.2753, allocations: 0.5766 MB / 449.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2753, allocations: 0 / 449.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001239/0.2766, allocations: 0.7431 MB / 450 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2766, allocations: 4 kB / 450 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2766, allocations: 7.938 kB / 450 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2766, allocations: 8.062 kB / 450 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.2774, allocations: 191.7 kB / 450.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.2774, allocations: 4 kB / 450.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.2777, allocations: 31.98 kB / 450.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.2778, allocations: 31.98 kB / 450.3 MB, free: 4.098 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.0002617/0.278, allocations: 206.2 kB / 450.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2781, allocations: 55.67 kB / 450.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.2783, allocations: 81.62 kB / 450.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2783, allocations: 12 kB / 450.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2783, allocations: 0 / 450.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.2783, allocations: 7.969 kB / 450.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.2813, allocations: 1.898 MB / 452.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.2813, allocations: 4 kB / 452.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.282, allocations: 195.7 kB / 452.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.282, allocations: 12 kB / 452.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.2821, allocations: 24 kB / 452.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.2821, allocations: 12.55 kB / 452.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.2821, allocations: 15.94 kB / 452.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.284, allocations: 1.287 MB / 454 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.2841, allocations: 63.67 kB / 454.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.2842, allocations: 20 kB / 454.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.2845, allocations: 36.03 kB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.2846, allocations: 76.7 kB / 454.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.2847, allocations: 39.98 kB / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.2849, allocations: 195.1 kB / 454.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2849, allocations: 0 / 454.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005078/0.2854, allocations: 156 kB / 454.6 MB, free: 15.53 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.00225/0.2877, allocations: 1.877 MB / 456.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.2888, allocations: 0.6294 MB / 457.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2888, allocations: 4 kB / 457.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.2894, allocations: 381.4 kB / 457.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.2902, allocations: 159.2 kB / 457.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.2975, allocations: 5.262 MB / 462.9 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.298, allocations: 0.8764 MB / 463.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.2984, allocations: 85.19 kB / 463.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.2987, allocations: 215.4 kB / 464.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2987, allocations: 0 / 464.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.3392, allocations: 13.08 MB / 477.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.76, allocations: 19.98 kB / 477.2 MB, free: 8.832 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.057586772018112] 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.927703987981658 11.949079138 11.687905528 Calling exit ...