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.00124/0.00124, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001336/0.001336, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.423/1.423, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.001554/0.001554, allocations: 55.92 kB / 373.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1046, allocations: 53.33 MB / 427 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004856/0.1094, allocations: 3.66 MB / 430.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1113, allocations: 0.9665 MB / 431.6 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.1116, allocations: 15.88 kB / 431.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.1118, allocations: 79.16 kB / 431.7 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1973/0.3091, allocations: 170.1 kB / 431.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.3099, allocations: 161.3 kB / 432.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007936/0.3107, allocations: 0.6232 MB / 432.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.311, allocations: 140.1 kB / 432.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.3114, allocations: 258.9 kB / 433.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.3117, allocations: 289.3 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.3118, allocations: 51.88 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3119, allocations: 58.28 kB / 433.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.312, allocations: 124.3 kB / 433.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.3122, allocations: 284.8 kB / 433.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.3127, allocations: 0.6245 MB / 434.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3127, allocations: 4.969 kB / 434.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3127, allocations: 0 / 434.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3127, allocations: 2 kB / 434.5 MB, free: 7.781 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.001353/0.3141, allocations: 0.8458 MB / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3141, allocations: 10.03 kB / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.773e-05/0.3142, allocations: 14.78 kB / 435.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.3142, allocations: 90.56 kB / 435.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.3144, allocations: 75.03 kB / 435.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.3149, allocations: 351.1 kB / 435.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3149, allocations: 43.22 kB / 435.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.315, allocations: 53.64 kB / 436 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.3157, allocations: 423.2 kB / 436.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3157, allocations: 1.969 kB / 436.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.3158, allocations: 20.97 kB / 436.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3158, allocations: 10.5 kB / 436.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.3165, allocations: 388 kB / 436.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.3187, allocations: 1.381 MB / 438.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.3193, allocations: 478.2 kB / 438.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.32, allocations: 314 kB / 438.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.32, allocations: 13.16 kB / 439 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.32, allocations: 39.2 kB / 439 MB, free: 5.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.745e-06/0.32, allocations: 0.9844 kB / 439 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00653/0.3266, allocations: 3.02 MB / 442 MB, free: 4.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3266, allocations: 70.61 kB / 442.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3269, allocations: 275.9 kB / 442.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.3269, allocations: 41.11 kB / 442.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.327, allocations: 215.9 kB / 442.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.3272, allocations: 380.1 kB / 443 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.3274, allocations: 147.6 kB / 443.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.3275, allocations: 364 kB / 443.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.3279, allocations: 237.8 kB / 443.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.3283, allocations: 315.3 kB / 444 MB, free: 2.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3292, allocations: 0.5766 MB / 444.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3292, allocations: 1.531 kB / 444.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00118/0.3304, allocations: 0.7397 MB / 445.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3304, allocations: 5.375 kB / 445.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3304, allocations: 1.25 kB / 445.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.3305, allocations: 4.531 kB / 445.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.3312, allocations: 205.1 kB / 445.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3312, allocations: 4.281 kB / 445.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.3316, allocations: 30.19 kB / 445.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.3316, allocations: 31.59 kB / 445.6 MB, free: 2.203 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.0002172/0.3318, allocations: 194.8 kB / 445.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.3319, allocations: 60.73 kB / 445.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.3321, allocations: 82.98 kB / 445.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3321, allocations: 9.938 kB / 445.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.3321, allocations: 1.188 kB / 445.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.3321, allocations: 5.109 kB / 446 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.3348, allocations: 1.946 MB / 447.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.3348, allocations: 8.406 kB / 447.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/0.3356, allocations: 196.2 kB / 448.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.3356, allocations: 8.5 kB / 448.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.3357, allocations: 26.56 kB / 448.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.3357, allocations: 9.984 kB / 448.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.3357, allocations: 8.547 kB / 448.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3376, allocations: 1.29 MB / 449.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3378, allocations: 134 kB / 449.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.3379, allocations: 30.61 kB / 449.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.3382, allocations: 29.97 kB / 449.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.3384, allocations: 84.97 kB / 449.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.3385, allocations: 30.58 kB / 449.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.3387, allocations: 196.8 kB / 449.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3387, allocations: 0 / 449.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006831/0.3394, allocations: 158.6 kB / 450.1 MB, free: 15.84 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.00233/0.3417, allocations: 1.864 MB / 452 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3431, allocations: 0.634 MB / 452.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3431, allocations: 0 / 452.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.3437, allocations: 388.9 kB / 453 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.3447, allocations: 144.2 kB / 453.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.3526, allocations: 5.252 MB / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.3532, allocations: 0.8855 MB / 459.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003758/0.3536, allocations: 82.33 kB / 459.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.354, allocations: 213.9 kB / 459.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.354, allocations: 0 / 459.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/0.3947, allocations: 12.44 MB / 472 MB, free: 2.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.694/9.089, allocations: 10.09 kB / 472 MB, free: 2.504 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.399066670041066] 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'] 9.21757866902044 9.231084297 8.915428941 Calling exit ...