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.001423/0.001424, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 201.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 46.1 MB / 343.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 77.78 kB / 417.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 62.45 MB / 479.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02898/0.1699, allocations: 28.67 MB / 0.4963 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.1851, allocations: 5.574 MB / 0.5018 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006547/0.1917, allocations: 115.8 kB / 0.5019 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.1952, allocations: 1.27 MB / 0.5031 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.199, allocations: 1.155 MB / 0.5043 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.1995, allocations: 67.92 kB / 0.5043 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2592/0.4588, allocations: 2.777 MB / 0.507 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.4617, allocations: 1.845 MB / 0.5088 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.4639, allocations: 1.068 MB / 0.5099 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.4665, allocations: 1.629 MB / 0.5115 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000531/0.4671, allocations: 205.8 kB / 0.5117 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4684, allocations: 0.4928 MB / 0.5122 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.4699, allocations: 1.447 MB / 0.5136 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.4715, allocations: 1.733 MB / 0.5153 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006944/0.4784, allocations: 5.239 MB / 0.5204 GB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4785, allocations: 0 / 0.5204 GB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4785, allocations: 1.625 kB / 0.5204 GB, free: 8.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.4787, allocations: 0 / 0.5204 GB, free: 8.875 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.00787/0.4865, allocations: 3.632 MB / 0.5239 GB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.4866, allocations: 13.62 kB / 0.5239 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001178/0.4878, allocations: 0.6796 MB / 0.5246 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009401/0.4972, allocations: 2.979 MB / 0.5275 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.5012, allocations: 1.554 MB / 0.529 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.5014, allocations: 176.2 kB / 0.5292 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009883/0.5024, allocations: 221.6 kB / 0.5294 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.5183, allocations: 9.709 MB / 0.5389 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/0.5184, allocations: 18.34 kB / 0.5389 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/0.5188, allocations: 105.9 kB / 0.539 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003774/0.5226, allocations: 2.441 MB / 0.5414 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.5404, allocations: 8.809 MB / 0.55 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05629/0.5967, allocations: 30.66 MB / 0.5799 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/0.6031, allocations: 3.274 MB / 0.5831 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.6048, allocations: 0.9141 MB / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.399e-05/0.6049, allocations: 15.34 kB / 0.5841 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.6049, allocations: 47.56 kB / 0.5841 GB, free: 1.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.328e-06/0.6049, allocations: 0 / 0.5841 GB, free: 1.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.008113/0.6131, allocations: 3.377 MB / 0.5874 GB, free: 13.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.6131, allocations: 60.41 kB / 0.5875 GB, free: 13.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007551/0.6207, allocations: 3.122 MB / 0.5905 GB, free: 10.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.6211, allocations: 41.7 kB / 0.5905 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002486/0.6236, allocations: 2.678 MB / 0.5932 GB, free: 7.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.6249, allocations: 0.5623 MB / 0.5937 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002634/0.6275, allocations: 0.9748 MB / 0.5947 GB, free: 6.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6276, allocations: 309.1 kB / 0.595 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.6304, allocations: 1.532 MB / 0.5964 GB, free: 4.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.6357, allocations: 4.449 MB / 0.6008 GB, free: 14.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/0.6444, allocations: 6.542 MB / 0.6072 GB, free: 7.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.6446, allocations: 32 kB / 0.6072 GB, free: 7.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01073/0.6553, allocations: 5.818 MB / 0.6129 GB, free: 1.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.6554, allocations: 52 kB / 0.6129 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/0.6556, allocations: 100 kB / 0.613 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.6558, allocations: 136 kB / 0.6132 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.6591, allocations: 1.061 MB / 0.6142 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001973/0.6593, allocations: 207.8 kB / 0.6144 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/0.6631, allocations: 0.6866 MB / 0.6151 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006322/0.6637, allocations: 292 kB / 0.6153 GB, free: 14.98 MB / 478.1 MB 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.003828/0.6676, allocations: 1.944 MB / 0.6172 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000536/0.6681, allocations: 256.5 kB / 0.6175 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.6689, allocations: 331.8 kB / 0.6178 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/0.669, allocations: 22.5 kB / 0.6178 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.669, allocations: 7.938 kB / 0.6178 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.669, allocations: 7.969 kB / 0.6178 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.6834, allocations: 6.871 MB / 0.6246 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.6835, allocations: 12.06 kB / 0.6246 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.6843, allocations: 175.7 kB / 0.6247 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.266e-05/0.6844, allocations: 12 kB / 0.6247 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.6845, allocations: 28 kB / 0.6248 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/0.6845, allocations: 19.86 kB / 0.6248 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.6845, allocations: 11.94 kB / 0.6248 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.6876, allocations: 2.252 MB / 0.627 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.6885, allocations: 353.3 kB / 0.6273 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/0.6892, allocations: 26.58 kB / 0.6274 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6903, allocations: 47.89 kB / 0.6274 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.6905, allocations: 80.45 kB / 0.6275 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.6906, allocations: 50.8 kB / 0.6275 GB, free: 2.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004078/0.6947, allocations: 1.975 MB / 0.6295 GB, free: 252 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6947, allocations: 0 / 0.6295 GB, free: 252 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.004851/0.6996, allocations: 0.9943 MB / 0.6304 GB, free: 15.25 MB / 494.1 MB 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.003907/0.7035, allocations: 2.907 MB / 0.6333 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00817/0.7117, allocations: 4.651 MB / 0.6378 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.7117, allocations: 0 / 0.6378 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.713, allocations: 0.9162 MB / 0.6387 GB, free: 6.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.7158, allocations: 334.2 kB / 0.639 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07711/0.7929, allocations: 38.11 MB / 0.6762 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005562/0.7985, allocations: 3.012 MB / 0.6792 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00441/0.803, allocations: 1.715 MB / 0.6809 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00297/0.8059, allocations: 1.538 MB / 0.6824 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of SimCode: time 2.966e-06/0.806, allocations: 0 / 0.6824 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.36/1.166, allocations: 48.66 MB / 0.7299 GB, free: 218.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/1.166, allocations: 208.4 kB / 0.7301 GB, free: 218.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.402/4.568, allocations: 0 / 0.7301 GB, free: 218.1 MB / 0.5606 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