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.001305/0.001305, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001449/0.001449, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001867/0.001867, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1145, allocations: 53.37 MB / 427 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005258/0.1197, allocations: 3.679 MB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2174/0.3372, allocations: 0.9509 MB / 431.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005955/0.3377, allocations: 10.12 kB / 431.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.338, allocations: 82.16 kB / 431.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.3384, allocations: 166.1 kB / 431.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.3389, allocations: 170 kB / 432.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.3395, allocations: 0.6208 MB / 432.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3398, allocations: 147.3 kB / 432.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.3401, allocations: 260.1 kB / 433.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3404, allocations: 292.2 kB / 433.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.49e-05/0.3405, allocations: 50.12 kB / 433.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3406, allocations: 54.03 kB / 433.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.3407, allocations: 116.8 kB / 433.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.3409, allocations: 290.7 kB / 433.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.3414, allocations: 0.6215 MB / 434.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3414, allocations: 0 / 434.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3414, allocations: 1.188 kB / 434.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.3415, allocations: 1.469 kB / 434.5 MB, free: 7.219 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.001351/0.3428, allocations: 0.8546 MB / 435.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3428, allocations: 9.281 kB / 435.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.071e-05/0.3429, allocations: 13.5 kB / 435.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.839e-05/0.3429, allocations: 89.22 kB / 435.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.3431, allocations: 73.5 kB / 435.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.3436, allocations: 354.6 kB / 435.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3436, allocations: 41.66 kB / 435.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.3437, allocations: 52.61 kB / 436 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.3444, allocations: 416.4 kB / 436.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.3444, allocations: 6.812 kB / 436.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.3445, allocations: 21 kB / 436.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3445, allocations: 12.7 kB / 436.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.3452, allocations: 383.8 kB / 436.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.3475, allocations: 1.389 MB / 438.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.3483, allocations: 487.1 kB / 438.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.3491, allocations: 306.8 kB / 439 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.3491, allocations: 9.297 kB / 439 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3491, allocations: 39.27 kB / 439 MB, free: 5.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 3.757e-06/0.3491, allocations: 7.141 kB / 439 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006477/0.3556, allocations: 3.019 MB / 442.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3557, allocations: 63.06 kB / 442.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.356, allocations: 279.3 kB / 442.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.356, allocations: 46.23 kB / 442.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3561, allocations: 211.6 kB / 442.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.3563, allocations: 385.6 kB / 443 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.3565, allocations: 148 kB / 443.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.3566, allocations: 364.6 kB / 443.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.357, allocations: 237.4 kB / 443.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.3575, allocations: 319.2 kB / 444.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.3584, allocations: 0.5738 MB / 444.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3584, allocations: 0 / 444.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001182/0.3596, allocations: 0.7405 MB / 445.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3596, allocations: 6.109 kB / 445.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3596, allocations: 5.188 kB / 445.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.3596, allocations: 4.781 kB / 445.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.3604, allocations: 199.1 kB / 445.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3604, allocations: 4.656 kB / 445.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.3608, allocations: 26.78 kB / 445.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.3608, allocations: 31.22 kB / 445.7 MB, free: 1.852 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.0002515/0.3611, allocations: 197.1 kB / 445.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3612, allocations: 63.89 kB / 445.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.3614, allocations: 78.94 kB / 446 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.3614, allocations: 10.78 kB / 446 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.3614, allocations: 0 / 446 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.3614, allocations: 5.156 kB / 446 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.3642, allocations: 1.933 MB / 447.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.3642, allocations: 8.438 kB / 447.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.365, allocations: 194.8 kB / 448.1 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.365, allocations: 9.219 kB / 448.1 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.3651, allocations: 30.98 kB / 448.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.3651, allocations: 16.36 kB / 448.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3651, allocations: 6.516 kB / 448.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.3669, allocations: 1.283 MB / 449.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3671, allocations: 140.6 kB / 449.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.3672, allocations: 25.56 kB / 449.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3675, allocations: 39.98 kB / 449.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.3677, allocations: 69.7 kB / 449.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.3677, allocations: 35.33 kB / 449.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.368, allocations: 200.9 kB / 450 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.368, allocations: 0 / 450 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.3685, allocations: 162.3 kB / 450.1 MB, free: 15.4 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.002262/0.3708, allocations: 1.861 MB / 452 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3721, allocations: 0.6332 MB / 452.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3721, allocations: 0 / 452.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.3728, allocations: 393.3 kB / 453 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.3737, allocations: 141.5 kB / 453.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00872/0.3824, allocations: 5.252 MB / 458.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.383, allocations: 0.8815 MB / 459.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003951/0.3834, allocations: 80.03 kB / 459.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.3838, allocations: 218.6 kB / 459.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3838, allocations: 4 kB / 459.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.4221, allocations: 12.43 MB / 472 MB, free: 1.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.886/9.309, allocations: 14.42 kB / 472 MB, free: 1.984 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.700928965990897] 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.437849095033016 9.451676315 9.107318691 Calling exit ...