Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.000955, allocations: 96.23 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 171.5 kB / 16.58 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 222.7 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3597/0.3597, allocations: 43.54 MB / 314.6 MB, free: 8.922 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008629/0.000863, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1189, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.2217/0.3407, allocations: 26.31 MB / 469.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009418/0.3502, allocations: 5.386 MB / 474.6 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.353, allocations: 121 kB / 474.7 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.3548, allocations: 1.274 MB / 476 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.3603, allocations: 3.573 MB / 479.5 MB, free: 30.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3607, allocations: 80.77 kB / 479.6 MB, free: 30.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.363, allocations: 3.202 MB / 482.8 MB, free: 29.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.3649, allocations: 1.992 MB / 484.8 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008735/0.3658, allocations: 0.9481 MB / 485.8 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3671, allocations: 1.475 MB / 487.2 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3673, allocations: 122.2 kB / 487.4 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.368, allocations: 372.5 kB / 487.7 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008561/0.3689, allocations: 1.363 MB / 489.1 MB, free: 27.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.3694, allocations: 0.7135 MB / 489.8 MB, free: 26.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.3746, allocations: 4.282 MB / 494.1 MB, free: 25.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3746, allocations: 0 / 494.1 MB, free: 25.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3746, allocations: 0 / 494.1 MB, free: 25.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.3748, allocations: 1.062 kB / 494.1 MB, free: 25.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.005683/0.3805, allocations: 3.103 MB / 497.2 MB, free: 23.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3805, allocations: 17.94 kB / 497.2 MB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001039/0.3816, allocations: 0.699 MB / 497.9 MB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.392, allocations: 3.066 MB / 0.4892 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.3959, allocations: 1.548 MB / 0.4907 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3961, allocations: 184.3 kB / 0.4909 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000633/0.3967, allocations: 227 kB / 0.4911 GB, free: 22.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.4112, allocations: 9.895 MB / 0.5008 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/0.4113, allocations: 24.64 kB / 0.5008 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/0.4117, allocations: 114.1 kB / 0.5009 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00365/0.4153, allocations: 2.528 MB / 0.5034 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.43, allocations: 8.87 MB / 0.512 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04847/0.4786, allocations: 31.51 MB / 0.5428 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/0.4863, allocations: 3.292 MB / 0.546 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.4881, allocations: 0.9269 MB / 0.5469 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/0.4882, allocations: 20.98 kB / 0.547 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.4883, allocations: 47.48 kB / 0.547 GB, free: 3.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 5.33e-06/0.4883, allocations: 0 / 0.547 GB, free: 3.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.009969/0.4983, allocations: 3.381 MB / 0.5503 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4984, allocations: 86.23 kB / 0.5504 GB, free: 400 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/0.5048, allocations: 3.157 MB / 0.5535 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.505, allocations: 41.7 kB / 0.5535 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.5074, allocations: 2.747 MB / 0.5562 GB, free: 10.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006848/0.5081, allocations: 0.5747 MB / 0.5568 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.5084, allocations: 92 kB / 0.5568 GB, free: 9.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004281/0.5089, allocations: 0.5166 MB / 0.5573 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.5115, allocations: 1.52 MB / 0.5588 GB, free: 7.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/0.5165, allocations: 4.516 MB / 0.5632 GB, free: 1.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/0.5207, allocations: 2.632 MB / 0.5658 GB, free: 15.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-05/0.5208, allocations: 31.94 kB / 0.5658 GB, free: 15 MB / 446.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.009851/0.5307, allocations: 5.871 MB / 0.5716 GB, free: 9.113 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.074e-05/0.5308, allocations: 48 kB / 0.5716 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.531, allocations: 112 kB / 0.5717 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.5311, allocations: 152 kB / 0.5719 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.5343, allocations: 1.08 MB / 0.5729 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001832/0.5345, allocations: 207.2 kB / 0.5731 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/0.5379, allocations: 0.6839 MB / 0.5738 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/0.5384, allocations: 300 kB / 0.5741 GB, free: 6.539 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 593 * Array equations: 6 * 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.00375/0.5422, allocations: 2.005 MB / 0.576 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.5427, allocations: 268.4 kB / 0.5763 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008311/0.5435, allocations: 336.3 kB / 0.5766 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.5436, allocations: 16 kB / 0.5766 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.5436, allocations: 4 kB / 0.5766 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5436, allocations: 3.984 kB / 0.5766 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.5565, allocations: 7.122 MB / 0.5836 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5565, allocations: 8 kB / 0.5836 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.5572, allocations: 171.7 kB / 0.5838 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.5573, allocations: 12 kB / 0.5838 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.427e-05/0.5573, allocations: 31.98 kB / 0.5838 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.5574, allocations: 12 kB / 0.5838 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.5574, allocations: 11.94 kB / 0.5838 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.5601, allocations: 2.275 MB / 0.586 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007589/0.5609, allocations: 373.1 kB / 0.5864 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.5611, allocations: 31.98 kB / 0.5864 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.5618, allocations: 43.95 kB / 0.5865 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.5619, allocations: 80.41 kB / 0.5866 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.562, allocations: 55.98 kB / 0.5866 GB, free: 9.375 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003204/0.5653, allocations: 1.992 MB / 0.5886 GB, free: 7.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5653, allocations: 0 / 0.5886 GB, free: 7.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00401/0.5693, allocations: 1.043 MB / 0.5896 GB, free: 6.336 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 6 * 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.003097/0.5724, allocations: 2.909 MB / 0.5924 GB, free: 3.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005197/0.5776, allocations: 3.567 MB / 0.5959 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5776, allocations: 4.375 kB / 0.5959 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.5787, allocations: 0.9251 MB / 0.5968 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.5803, allocations: 311.8 kB / 0.5971 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/0.6227, allocations: 25.48 MB / 0.622 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/0.6264, allocations: 3.066 MB / 0.625 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004007/0.6304, allocations: 1.742 MB / 0.6267 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/0.6325, allocations: 1.593 MB / 0.6282 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6325, allocations: 0 / 0.6282 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/0.9128, allocations: 56.8 MB / 0.6837 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.913, allocations: 182.5 kB / 0.6839 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.873, allocations: 0 / 0.6839 GB, free: 143.9 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat