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.001294/0.001294, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001569/0.001569, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.001755/0.001755, allocations: 63.91 kB / 378.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2771, allocations: 53.4 MB / 431.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004934/0.282, allocations: 3.311 MB / 435.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.2839, allocations: 0.9237 MB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2841, allocations: 11.94 kB / 436.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.2843, allocations: 87.09 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.2846, allocations: 154.6 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2851, allocations: 171.6 kB / 436.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.2858, allocations: 0.6189 MB / 437.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.2861, allocations: 152.1 kB / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.2864, allocations: 255.1 kB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.2868, allocations: 290.8 kB / 437.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.2869, allocations: 52 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.287, allocations: 56 kB / 438 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2871, allocations: 123.6 kB / 438.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.2874, allocations: 239 kB / 438.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.288, allocations: 0.6302 MB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.288, allocations: 0 / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.288, allocations: 0 / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.288, allocations: 0 / 439 MB, free: 15.34 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.001455/0.2895, allocations: 0.7737 MB / 439.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2895, allocations: 12.03 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.763e-05/0.2896, allocations: 13.19 kB / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.31e-05/0.2897, allocations: 94.7 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2899, allocations: 76.48 kB / 439.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.2903, allocations: 289.3 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.2904, allocations: 37 kB / 440.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.2905, allocations: 55.94 kB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.2912, allocations: 414.4 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2912, allocations: 7.938 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.2913, allocations: 20 kB / 440.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2913, allocations: 15.98 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.292, allocations: 383.8 kB / 441.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.2943, allocations: 1.243 MB / 442.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.2951, allocations: 472 kB / 442.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.2957, allocations: 308.3 kB / 443.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.2958, allocations: 8.656 kB / 443.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2958, allocations: 47.09 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.255e-06/0.2958, allocations: 0 / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006518/0.3023, allocations: 2.873 MB / 446 MB, free: 8.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3024, allocations: 64.41 kB / 446.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.3027, allocations: 284.5 kB / 446.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.3028, allocations: 41.7 kB / 446.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3029, allocations: 205.6 kB / 446.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.3032, allocations: 376.7 kB / 447 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.3034, allocations: 158.6 kB / 447.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3036, allocations: 370.7 kB / 447.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.3041, allocations: 233.9 kB / 447.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3046, allocations: 321.4 kB / 448.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.3056, allocations: 0.5689 MB / 448.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3056, allocations: 0 / 448.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001222/0.3068, allocations: 0.7355 MB / 449.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3068, allocations: 8 kB / 449.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3068, allocations: 4 kB / 449.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3068, allocations: 4 kB / 449.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.3076, allocations: 195.7 kB / 449.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3076, allocations: 4 kB / 449.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.3079, allocations: 31.98 kB / 449.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.308, allocations: 27.98 kB / 449.6 MB, free: 4.398 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.0002768/0.3082, allocations: 210.1 kB / 449.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.3083, allocations: 59.67 kB / 449.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.3085, allocations: 77.62 kB / 450 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3085, allocations: 12 kB / 450 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3085, allocations: 0 / 450 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3085, allocations: 3.984 kB / 450 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.3114, allocations: 1.805 MB / 451.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.3114, allocations: 4 kB / 451.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.3121, allocations: 195.7 kB / 452 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.3121, allocations: 8.594 kB / 452 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.3122, allocations: 35.94 kB / 452 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.3122, allocations: 15.92 kB / 452 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.3122, allocations: 8 kB / 452 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.314, allocations: 1.295 MB / 453.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3141, allocations: 59.67 kB / 453.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.3142, allocations: 20 kB / 453.4 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.3145, allocations: 35.98 kB / 453.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3147, allocations: 84.73 kB / 453.5 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.3147, allocations: 32 kB / 453.6 MB, free: 264 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3149, allocations: 195.1 kB / 453.8 MB, free: 72 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3149, allocations: 0 / 453.8 MB, free: 72 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005352/0.3155, allocations: 160 kB / 453.9 MB, free: 15.91 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.002227/0.3177, allocations: 1.862 MB / 455.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.3188, allocations: 0.6333 MB / 456.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3188, allocations: 0 / 456.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.3194, allocations: 390.7 kB / 456.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.3202, allocations: 147.5 kB / 456.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.3274, allocations: 5.254 MB / 462.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3277, allocations: 288.8 kB / 462.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003326/0.328, allocations: 81.2 kB / 462.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.3284, allocations: 215.4 kB / 462.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3284, allocations: 0 / 462.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.3677, allocations: 13.32 MB / 476.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.91, allocations: 0 / 476.1 MB, free: 9.648 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.19916971505154] 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'] 12.075708120013587 12.097533555 11.806442118 Calling exit ...