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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.94 MB / 360.8 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 79.88 kB / 0.4961 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3541, allocations: 66.08 MB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01251/0.3666, allocations: 9.934 MB / 0.5704 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0058/0.3724, allocations: 2.714 MB / 0.573 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009905/0.3734, allocations: 63.81 kB / 0.5731 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.3763, allocations: 1.323 MB / 0.5744 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.38, allocations: 1.28 MB / 0.5756 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.3804, allocations: 71.86 kB / 0.5757 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004181/0.3845, allocations: 2.76 MB / 0.5784 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.3868, allocations: 1.623 MB / 0.58 GB, free: 196 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.3886, allocations: 1.074 MB / 0.581 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.3908, allocations: 1.58 MB / 0.5826 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000503/0.3913, allocations: 204 kB / 0.5828 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.3924, allocations: 407.3 kB / 0.5832 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.3939, allocations: 1.464 MB / 0.5846 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.3954, allocations: 1.214 MB / 0.5858 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007/0.4024, allocations: 5.534 MB / 0.5912 GB, free: 4.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4024, allocations: 0 / 0.5912 GB, free: 4.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4024, allocations: 0 / 0.5912 GB, free: 4.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001277/0.4025, allocations: 0 / 0.5912 GB, free: 4.68 MB / 430.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.006692/0.4092, allocations: 3.663 MB / 0.5948 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.4093, allocations: 12.03 kB / 0.5948 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009416/0.4102, allocations: 0.6797 MB / 0.5954 GB, free: 264 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.4207, allocations: 3.004 MB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/0.4262, allocations: 1.507 MB / 0.5998 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4264, allocations: 181.8 kB / 0.6 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008134/0.4272, allocations: 219.8 kB / 0.6002 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.4444, allocations: 9.714 MB / 0.6097 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.4444, allocations: 19.81 kB / 0.6097 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.4448, allocations: 111.8 kB / 0.6098 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004499/0.4493, allocations: 2.432 MB / 0.6122 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.4692, allocations: 8.802 MB / 0.6208 GB, free: 5.773 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04802/0.5172, allocations: 29.07 MB / 0.6492 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/0.5222, allocations: 2.26 MB / 0.6514 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.5235, allocations: 0.8632 MB / 0.6522 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/0.5236, allocations: 12.98 kB / 0.6522 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.5236, allocations: 43.56 kB / 0.6523 GB, free: 4.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 5.28e-06/0.5236, allocations: 4 kB / 0.6523 GB, free: 4.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007869/0.5315, allocations: 3.383 MB / 0.6556 GB, free: 1.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.5315, allocations: 60.41 kB / 0.6557 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/0.537, allocations: 3.301 MB / 0.6589 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.5372, allocations: 45.69 kB / 0.6589 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002341/0.5396, allocations: 2.787 MB / 0.6616 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009229/0.5405, allocations: 0.5932 MB / 0.6622 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.5419, allocations: 0.9767 MB / 0.6632 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.542, allocations: 309.1 kB / 0.6635 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.5445, allocations: 1.528 MB / 0.665 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/0.55, allocations: 4.451 MB / 0.6693 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/0.5588, allocations: 6.539 MB / 0.6757 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.5589, allocations: 32 kB / 0.6757 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01113/0.5701, allocations: 5.846 MB / 0.6814 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.5701, allocations: 52.06 kB / 0.6815 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.5703, allocations: 104 kB / 0.6816 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.5704, allocations: 136 kB / 0.6817 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.5736, allocations: 1.053 MB / 0.6827 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001991/0.5738, allocations: 207.2 kB / 0.6829 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/0.5774, allocations: 0.6978 MB / 0.6836 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005748/0.578, allocations: 300 kB / 0.6839 GB, free: 1.285 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.003121/0.5811, allocations: 1.946 MB / 0.6858 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.5815, allocations: 266.2 kB / 0.6861 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006082/0.5821, allocations: 335.8 kB / 0.6864 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.5822, allocations: 16 kB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5822, allocations: 0 / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.5822, allocations: 3.984 kB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.5939, allocations: 6.667 MB / 0.6929 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.5939, allocations: 4.125 kB / 0.6929 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.5947, allocations: 179.7 kB / 0.6931 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/0.5947, allocations: 12 kB / 0.6931 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.5948, allocations: 31.98 kB / 0.6931 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.559e-05/0.5948, allocations: 11.94 kB / 0.6931 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.5948, allocations: 8 kB / 0.6931 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/0.5978, allocations: 2.273 MB / 0.6954 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/0.5985, allocations: 301.6 kB / 0.6957 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.5988, allocations: 27.97 kB / 0.6957 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.5995, allocations: 43.97 kB / 0.6957 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.5996, allocations: 96.27 kB / 0.6958 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5997, allocations: 47.98 kB / 0.6959 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003045/0.6028, allocations: 1.975 MB / 0.6978 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6028, allocations: 0 / 0.6978 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003525/0.6063, allocations: 1.001 MB / 0.6988 GB, free: 1.785 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.003558/0.6099, allocations: 2.922 MB / 0.7016 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005636/0.6155, allocations: 3.425 MB / 0.705 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/0.6155, allocations: 0 / 0.705 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.6168, allocations: 0.8617 MB / 0.7058 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.6186, allocations: 327.9 kB / 0.7061 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3104/0.929, allocations: 33.52 MB / 0.7388 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/0.9315, allocations: 2.457 MB / 0.7412 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002906/0.9344, allocations: 1.72 MB / 0.7429 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.9359, allocations: 1.542 MB / 0.7444 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.9359, allocations: 0 / 0.7444 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07825/1.014, allocations: 45.49 MB / 0.7889 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.01, allocations: 11.27 kB / 0.7889 GB, free: 102.8 MB / 0.5606 GB " [Timeout remaining time 645] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.181196396704763]