Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009517/0.0009516, allocations: 81.11 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2386, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09866/0.3373, allocations: 77.97 MB / 453.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.3377, allocations: 71.95 kB / 453.9 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02726/0.3649, allocations: 9.288 MB / 463.2 MB, free: 9.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.365, allocations: 0 / 463.2 MB, free: 9.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.686e-05/0.365, allocations: 16 kB / 463.2 MB, free: 9.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001625/0.3667, allocations: 0.7604 MB / 464 MB, free: 8.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3667, allocations: 8.031 kB / 464 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.3669, allocations: 90.45 kB / 464.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3671, allocations: 55.34 kB / 464.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.3675, allocations: 302.2 kB / 464.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.3676, allocations: 40.94 kB / 464.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.3677, allocations: 48 kB / 464.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3687, allocations: 462.3 kB / 465 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3688, allocations: 7.906 kB / 465 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.3688, allocations: 20 kB / 465 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3689, allocations: 16 kB / 465 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3699, allocations: 487.7 kB / 465.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.3725, allocations: 1.39 MB / 466.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009919/0.3735, allocations: 0.5723 MB / 467.5 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.3736, allocations: 8.562 kB / 467.5 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3737, allocations: 43.12 kB / 467.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.996e-06/0.3737, allocations: 0 / 467.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.007844/0.3815, allocations: 3.289 MB / 470.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3816, allocations: 64.41 kB / 470.9 MB, free: 1.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.3819, allocations: 222.2 kB / 471.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.382, allocations: 37.7 kB / 471.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3822, allocations: 201.2 kB / 471.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.3824, allocations: 346.9 kB / 471.7 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3825, allocations: 16 kB / 471.7 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3827, allocations: 362.8 kB / 472 MB, free: 208 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.3833, allocations: 285.9 kB / 472.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.384, allocations: 357.4 kB / 472.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.3846, allocations: 318.9 kB / 473 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3846, allocations: 0 / 473 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001509/0.3861, allocations: 0.8132 MB / 473.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3862, allocations: 7.938 kB / 473.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3862, allocations: 0 / 473.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3862, allocations: 7.953 kB / 473.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.387, allocations: 219.8 kB / 474 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.3871, allocations: 4 kB / 474 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.3875, allocations: 59.95 kB / 474.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.3876, allocations: 28 kB / 474.1 MB, free: 14.11 MB / 362.7 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 (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 initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.3879, allocations: 193.7 kB / 474.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.388, allocations: 55.33 kB / 474.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.3882, allocations: 69.41 kB / 474.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.3882, allocations: 12 kB / 474.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.3882, allocations: 3.953 kB / 474.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3882, allocations: 7.969 kB / 474.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.3917, allocations: 2.017 MB / 476.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.3917, allocations: 4.594 kB / 476.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/0.3926, allocations: 219.7 kB / 476.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.206e-05/0.3926, allocations: 11.98 kB / 476.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.3927, allocations: 27.98 kB / 476.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.3927, allocations: 11.94 kB / 476.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.3927, allocations: 4 kB / 476.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.3953, allocations: 1.642 MB / 478.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.3955, allocations: 124.4 kB / 478.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.3956, allocations: 28.02 kB / 478.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.3961, allocations: 67.95 kB / 478.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3962, allocations: 68.81 kB / 478.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.3963, allocations: 39.98 kB / 478.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3965, allocations: 170 kB / 478.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3965, allocations: 0 / 478.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005857/0.3971, allocations: 156 kB / 479 MB, free: 8.871 MB / 362.7 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 (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003324/0.4004, allocations: 3.517 MB / 482.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.402, allocations: 0.7621 MB / 483.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4021, allocations: 0 / 483.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008223/0.4029, allocations: 458.7 kB / 483.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.4036, allocations: 96.2 kB / 483.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/0.4105, allocations: 4.03 MB / 487.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.4111, allocations: 0.8852 MB / 488.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.4115, allocations: 76.94 kB / 488.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.4119, allocations: 207.2 kB / 489 MB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4119, allocations: 0 / 489 MB, free: 14.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.438, allocations: 10.4 MB / 499.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.4383, allocations: 175.4 kB / 499.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.608, allocations: 11.94 kB / 499.6 MB, free: 3.922 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat