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.001715/0.001715, allocations: 104.2 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002132/0.002131, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.1 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.88 kB / 416.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1405, allocations: 62.43 MB / 479.4 MB, free: 8.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02868/0.1692, allocations: 28.66 MB / 0.4961 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.1844, allocations: 5.609 MB / 0.5016 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.1907, allocations: 111.8 kB / 0.5017 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.1943, allocations: 1.305 MB / 0.503 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.1981, allocations: 1.171 MB / 0.5041 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.1987, allocations: 67.92 kB / 0.5042 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005247/0.2039, allocations: 4.086 MB / 0.5082 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.2073, allocations: 1.757 MB / 0.5099 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.2097, allocations: 0.9259 MB / 0.5108 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.2126, allocations: 1.557 MB / 0.5123 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009489/0.2136, allocations: 148 kB / 0.5125 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.2154, allocations: 459.2 kB / 0.5129 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.2174, allocations: 1.383 MB / 0.5143 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003032/0.2204, allocations: 1.672 MB / 0.5159 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.2266, allocations: 5.162 MB / 0.5209 GB, free: 2.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2266, allocations: 0 / 0.5209 GB, free: 2.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2266, allocations: 0 / 0.5209 GB, free: 2.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.2269, allocations: 0 / 0.5209 GB, free: 2.652 MB / 446.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.009042/0.2359, allocations: 3.633 MB / 0.5245 GB, free: 14.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.236, allocations: 12.88 kB / 0.5245 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001725/0.2377, allocations: 0.6758 MB / 0.5252 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009919/0.2477, allocations: 2.979 MB / 0.5281 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.2511, allocations: 1.553 MB / 0.5296 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.2514, allocations: 184.6 kB / 0.5298 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009697/0.2523, allocations: 219.8 kB / 0.53 GB, free: 9.266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2114/0.4638, allocations: 9.696 MB / 0.5394 GB, free: 95.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.4638, allocations: 18.19 kB / 0.5394 GB, free: 95.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/0.4642, allocations: 112.9 kB / 0.5396 GB, free: 95.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003433/0.4676, allocations: 2.44 MB / 0.5419 GB, free: 95.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.4822, allocations: 8.807 MB / 0.5505 GB, free: 95.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/0.5191, allocations: 30.66 MB / 0.5805 GB, free: 77.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005024/0.5241, allocations: 3.271 MB / 0.5837 GB, free: 75.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.5255, allocations: 0.9243 MB / 0.5846 GB, free: 75.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/0.5255, allocations: 20.66 kB / 0.5846 GB, free: 75.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5256, allocations: 44.34 kB / 0.5846 GB, free: 75.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.507e-06/0.5256, allocations: 0 / 0.5846 GB, free: 75.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.007487/0.5331, allocations: 3.371 MB / 0.5879 GB, free: 74.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5331, allocations: 63.03 kB / 0.588 GB, free: 74.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.5373, allocations: 3.108 MB / 0.591 GB, free: 73.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.5375, allocations: 45.73 kB / 0.5911 GB, free: 73.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.5389, allocations: 2.683 MB / 0.5937 GB, free: 71.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004423/0.5393, allocations: 0.5702 MB / 0.5942 GB, free: 70.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009138/0.5403, allocations: 0.9688 MB / 0.5952 GB, free: 70.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.5403, allocations: 306.3 kB / 0.5955 GB, free: 69.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.542, allocations: 1.526 MB / 0.597 GB, free: 69.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.5451, allocations: 4.452 MB / 0.6013 GB, free: 65.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006755/0.5518, allocations: 6.536 MB / 0.6077 GB, free: 57.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.999e-05/0.552, allocations: 28 kB / 0.6077 GB, free: 57.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007257/0.5592, allocations: 5.833 MB / 0.6134 GB, free: 51.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.5593, allocations: 52 kB / 0.6135 GB, free: 51.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-05/0.5594, allocations: 101 kB / 0.6136 GB, free: 51.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.844e-05/0.5595, allocations: 139.9 kB / 0.6137 GB, free: 51.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.5619, allocations: 1.061 MB / 0.6147 GB, free: 50.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.531e-05/0.562, allocations: 203.2 kB / 0.6149 GB, free: 50.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.5647, allocations: 0.6804 MB / 0.6156 GB, free: 49.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.565, allocations: 288 kB / 0.6159 GB, free: 49.32 MB / 462.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.002133/0.5671, allocations: 1.946 MB / 0.6178 GB, free: 47.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.5674, allocations: 256.6 kB / 0.618 GB, free: 47.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.5678, allocations: 327.8 kB / 0.6183 GB, free: 46.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.5679, allocations: 21.81 kB / 0.6184 GB, free: 46.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.5679, allocations: 5.438 kB / 0.6184 GB, free: 46.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5679, allocations: 12.53 kB / 0.6184 GB, free: 46.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007766/0.5757, allocations: 6.874 MB / 0.6251 GB, free: 39.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.5757, allocations: 8.625 kB / 0.6251 GB, free: 39.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.5764, allocations: 179.7 kB / 0.6253 GB, free: 39.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.5764, allocations: 15.94 kB / 0.6253 GB, free: 39.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.5764, allocations: 27.28 kB / 0.6253 GB, free: 39.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.5765, allocations: 18.14 kB / 0.6253 GB, free: 39.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5765, allocations: 11.94 kB / 0.6253 GB, free: 39.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5784, allocations: 2.253 MB / 0.6275 GB, free: 37.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.5788, allocations: 347.5 kB / 0.6279 GB, free: 36.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.5791, allocations: 31.38 kB / 0.6279 GB, free: 36.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.5798, allocations: 51.83 kB / 0.6279 GB, free: 36.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5799, allocations: 80.45 kB / 0.628 GB, free: 36.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.58, allocations: 47.98 kB / 0.6281 GB, free: 36.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.5819, allocations: 1.975 MB / 0.63 GB, free: 34.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5819, allocations: 0 / 0.63 GB, free: 34.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002992/0.5849, allocations: 1.004 MB / 0.631 GB, free: 33.59 MB / 462.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.002167/0.5871, allocations: 2.902 MB / 0.6338 GB, free: 30.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.5908, allocations: 3.552 MB / 0.6373 GB, free: 27.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5908, allocations: 0 / 0.6373 GB, free: 27.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.5917, allocations: 0.9192 MB / 0.6382 GB, free: 26.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.593, allocations: 306.8 kB / 0.6385 GB, free: 25.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04746/0.6405, allocations: 38.12 MB / 0.6757 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004033/0.6445, allocations: 3.002 MB / 0.6786 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003841/0.6484, allocations: 1.725 MB / 0.6803 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/0.6505, allocations: 1.542 MB / 0.6818 GB, free: 7.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6505, allocations: 4 kB / 0.6818 GB, free: 7.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.419/2.07, allocations: 47.89 MB / 0.7286 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/2.07, allocations: 199.6 kB / 0.7288 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.495/5.565, allocations: 0 / 0.7288 GB, free: 8.102 MB / 0.5294 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