Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 206 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.555/1.555, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.319, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.0132/0.3322, allocations: 11.39 MB / 0.5417 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.3386, allocations: 2.835 MB / 0.5445 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.34, allocations: 59.09 kB / 0.5446 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.3427, allocations: 1.329 MB / 0.5459 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.3458, allocations: 1.231 MB / 0.5471 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.3462, allocations: 77.66 kB / 0.5471 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.3499, allocations: 2.768 MB / 0.5498 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.3522, allocations: 1.766 MB / 0.5516 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.3538, allocations: 1.062 MB / 0.5526 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.3557, allocations: 1.479 MB / 0.554 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004678/0.3562, allocations: 204 kB / 0.5542 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3573, allocations: 495.3 kB / 0.5547 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.3586, allocations: 1.418 MB / 0.5561 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.3604, allocations: 1.727 MB / 0.5578 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0065/0.3669, allocations: 5.509 MB / 0.5632 GB, free: 240 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3669, allocations: 0 / 0.5632 GB, free: 240 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3669, allocations: 4 kB / 0.5632 GB, free: 236 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002097/0.3672, allocations: 4 kB / 0.5632 GB, free: 232 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.007595/0.3748, allocations: 3.731 MB / 0.5668 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3748, allocations: 16.03 kB / 0.5668 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.376, allocations: 0.6796 MB / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.3865, allocations: 3.001 MB / 0.5704 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.3896, allocations: 1.561 MB / 0.5719 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3898, allocations: 172.7 kB / 0.5721 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005044/0.3903, allocations: 231.7 kB / 0.5723 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.4049, allocations: 9.702 MB / 0.5818 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.755e-05/0.405, allocations: 19.81 kB / 0.5818 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.4053, allocations: 111.8 kB / 0.5819 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003974/0.4093, allocations: 2.436 MB / 0.5843 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.4246, allocations: 8.822 MB / 0.5929 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05885/0.4835, allocations: 30.6 MB / 0.6228 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008481/0.492, allocations: 3.277 MB / 0.626 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4938, allocations: 0.9218 MB / 0.6269 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.4939, allocations: 12.98 kB / 0.6269 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4939, allocations: 47.55 kB / 0.627 GB, free: 13.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.066e-06/0.4939, allocations: 0 / 0.627 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.012/0.5059, allocations: 3.379 MB / 0.6303 GB, free: 9.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.5061, allocations: 68.34 kB / 0.6303 GB, free: 9.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008398/0.5145, allocations: 3.116 MB / 0.6334 GB, free: 6.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.5148, allocations: 41.7 kB / 0.6334 GB, free: 6.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003285/0.5181, allocations: 2.798 MB / 0.6361 GB, free: 3.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.5194, allocations: 0.5931 MB / 0.6367 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.5211, allocations: 0.9806 MB / 0.6377 GB, free: 2.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5213, allocations: 301.1 kB / 0.638 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.5237, allocations: 1.536 MB / 0.6395 GB, free: 352 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/0.5288, allocations: 4.451 MB / 0.6438 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/0.5372, allocations: 6.535 MB / 0.6502 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.03e-05/0.5373, allocations: 32 kB / 0.6502 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0101/0.5474, allocations: 5.837 MB / 0.6559 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/0.5475, allocations: 48 kB / 0.656 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.5476, allocations: 104 kB / 0.6561 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.5478, allocations: 136 kB / 0.6562 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003294/0.5511, allocations: 1.064 MB / 0.6572 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001924/0.5513, allocations: 207.2 kB / 0.6574 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/0.5544, allocations: 0.6943 MB / 0.6581 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/0.5549, allocations: 296 kB / 0.6584 GB, free: 10.04 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (588): * Single equations (assignments): 582 * Array equations: 6 * 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.002973/0.5579, allocations: 1.95 MB / 0.6603 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.5583, allocations: 270.1 kB / 0.6606 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.559, allocations: 331.8 kB / 0.6609 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.38e-05/0.559, allocations: 23.92 kB / 0.6609 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5591, allocations: 4 kB / 0.6609 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5591, allocations: 7.969 kB / 0.6609 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.5704, allocations: 6.862 MB / 0.6676 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.5705, allocations: 12.86 kB / 0.6676 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/0.5712, allocations: 171.8 kB / 0.6678 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.5712, allocations: 16 kB / 0.6678 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.5713, allocations: 31.94 kB / 0.6678 GB, free: 204 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/0.5714, allocations: 19.92 kB / 0.6678 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.5714, allocations: 8 kB / 0.6679 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.5745, allocations: 2.269 MB / 0.6701 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.5752, allocations: 370.8 kB / 0.6704 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.5755, allocations: 31.88 kB / 0.6705 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007413/0.5763, allocations: 43.95 kB / 0.6705 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.5765, allocations: 84.38 kB / 0.6706 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.5766, allocations: 51.98 kB / 0.6706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003288/0.5799, allocations: 1.979 MB / 0.6726 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5799, allocations: 4 kB / 0.6726 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003733/0.5836, allocations: 1.005 MB / 0.6735 GB, free: 10.21 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.003674/0.5873, allocations: 2.907 MB / 0.6764 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005787/0.5931, allocations: 3.578 MB / 0.6799 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5932, allocations: 0 / 0.6799 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.5945, allocations: 0.9253 MB / 0.6808 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.5962, allocations: 331.8 kB / 0.6811 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05092/0.6471, allocations: 33.51 MB / 0.7138 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004073/0.6512, allocations: 3.008 MB / 0.7168 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003843/0.6551, allocations: 1.718 MB / 0.7184 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002356/0.6575, allocations: 1.534 MB / 0.7199 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.6575, allocations: 0 / 0.7199 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3204/0.9779, allocations: 45.56 MB / 0.7644 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.74, allocations: 2.031 kB / 0.7644 GB, free: 156.4 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches