Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001442, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2299/0.2299, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 79.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3042, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006088/0.3104, allocations: 4.173 MB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3131, allocations: 1.172 MB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/0.3138, allocations: 22.72 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.3143, allocations: 99.83 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.3151, allocations: 205.8 kB / 0.5361 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.316, allocations: 227 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.3172, allocations: 0.7993 MB / 0.5371 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.3177, allocations: 238.7 kB / 0.5373 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.3184, allocations: 315.5 kB / 0.5376 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.319, allocations: 343.1 kB / 0.538 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.3192, allocations: 58.03 kB / 0.538 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.3195, allocations: 92.17 kB / 0.5381 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3197, allocations: 148.8 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.3203, allocations: 356.9 kB / 0.5386 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.3215, allocations: 0.7932 MB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3215, allocations: 4 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3215, allocations: 0 / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.3215, allocations: 0 / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002445/0.324, allocations: 1.027 MB / 0.5404 GB, free: 5.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.324, allocations: 13.59 kB / 0.5404 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.3242, allocations: 101.1 kB / 0.5405 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007333/0.3249, allocations: 144.3 kB / 0.5406 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.3256, allocations: 439.1 kB / 0.541 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.3257, allocations: 46.22 kB / 0.5411 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.3258, allocations: 67.86 kB / 0.5411 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.327, allocations: 0.6159 MB / 0.5417 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.327, allocations: 7.391 kB / 0.5418 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.3271, allocations: 25.59 kB / 0.5418 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.3271, allocations: 14.12 kB / 0.5418 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3283, allocations: 0.5147 MB / 0.5423 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.3318, allocations: 2.165 MB / 0.5444 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.3331, allocations: 0.6939 MB / 0.5451 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.3338, allocations: 335 kB / 0.5454 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.334, allocations: 93.91 kB / 0.5455 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.334, allocations: 47.5 kB / 0.5455 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/0.334, allocations: 0 / 0.5455 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.00893/0.343, allocations: 4.545 MB / 0.55 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.3431, allocations: 226.2 kB / 0.5502 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.3437, allocations: 393.8 kB / 0.5506 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-05/0.3437, allocations: 41.7 kB / 0.5506 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.344, allocations: 281.6 kB / 0.5509 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.3444, allocations: 440.2 kB / 0.5513 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.3447, allocations: 187 kB / 0.5515 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3449, allocations: 382.8 kB / 0.5518 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.3456, allocations: 310.4 kB / 0.5521 GB, free: 10.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.3464, allocations: 0.4926 MB / 0.5526 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.348, allocations: 0.8628 MB / 0.5535 GB, free: 9.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.348, allocations: 4 kB / 0.5535 GB, free: 9.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001953/0.35, allocations: 0.9953 MB / 0.5544 GB, free: 8.328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.35, allocations: 8 kB / 0.5544 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.35, allocations: 4.438 kB / 0.5545 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.3501, allocations: 16 kB / 0.5545 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3511, allocations: 275.6 kB / 0.5547 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.3512, allocations: 19.92 kB / 0.5547 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.3517, allocations: 43.98 kB / 0.5548 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.3518, allocations: 39.98 kB / 0.5548 GB, free: 7.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0003576/0.3521, allocations: 229.5 kB / 0.555 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.3524, allocations: 91.47 kB / 0.5551 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.3529, allocations: 226.9 kB / 0.5554 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.3529, allocations: 12 kB / 0.5554 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.353, allocations: 0 / 0.5554 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.353, allocations: 8.078 kB / 0.5554 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.357, allocations: 2.332 MB / 0.5576 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.357, allocations: 4 kB / 0.5577 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.3581, allocations: 247.6 kB / 0.5579 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.3582, allocations: 8.281 kB / 0.5579 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.3582, allocations: 35.98 kB / 0.5579 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.3583, allocations: 8 kB / 0.5579 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.3583, allocations: 7.938 kB / 0.5579 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.361, allocations: 1.874 MB / 0.5598 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.3615, allocations: 208.6 kB / 0.56 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.3616, allocations: 35.98 kB / 0.56 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.3622, allocations: 35.98 kB / 0.56 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.3624, allocations: 88.33 kB / 0.5601 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.3625, allocations: 31.98 kB / 0.5602 GB, free: 2.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003468/0.3628, allocations: 267.1 kB / 0.5604 GB, free: 2.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3628, allocations: 4 kB / 0.5604 GB, free: 2.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000935/0.3638, allocations: 196 kB / 0.5606 GB, free: 1.844 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.003117/0.3669, allocations: 2.463 MB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.3689, allocations: 0.8354 MB / 0.5638 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.3689, allocations: 4 kB / 0.5638 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.3699, allocations: 490.6 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.3713, allocations: 142.9 kB / 0.5644 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.3826, allocations: 7.306 MB / 0.5716 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.3834, allocations: 0.9518 MB / 0.5725 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004849/0.3839, allocations: 110 kB / 0.5726 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.3843, allocations: 271.3 kB / 0.5729 GB, free: 4.902 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3843, allocations: 0 / 0.5729 GB, free: 4.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.4282, allocations: 14.25 MB / 0.5868 GB, free: 6.816 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/9.816, allocations: 5.016 kB / 0.5868 GB, free: 6.812 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1)