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.001758/0.001758, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002213/0.002213, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2267/0.2267, allocations: 46.94 MB / 361.6 MB, free: 3.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 83.86 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.317, allocations: 66.08 MB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01239/0.3294, allocations: 9.847 MB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006729/0.3361, allocations: 2.714 MB / 0.5737 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.338, allocations: 71.69 kB / 0.5738 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.3412, allocations: 1.315 MB / 0.575 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.3447, allocations: 1.284 MB / 0.5763 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3451, allocations: 75.84 kB / 0.5764 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.3486, allocations: 2.763 MB / 0.5791 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.3507, allocations: 1.623 MB / 0.5807 GB, free: 240 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.3523, allocations: 1.074 MB / 0.5817 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.3547, allocations: 1.647 MB / 0.5833 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.3552, allocations: 204 kB / 0.5835 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.3563, allocations: 415.5 kB / 0.5839 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.3579, allocations: 1.468 MB / 0.5853 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.3595, allocations: 1.206 MB / 0.5865 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006273/0.3657, allocations: 5.534 MB / 0.5919 GB, free: 4.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3657, allocations: 4 kB / 0.5919 GB, free: 4.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3657, allocations: 0 / 0.5919 GB, free: 4.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.3659, allocations: 0 / 0.5919 GB, free: 4.648 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.00578/0.3716, allocations: 3.667 MB / 0.5955 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3717, allocations: 12.03 kB / 0.5955 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001028/0.3718, allocations: 84.64 kB / 0.5956 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008814/0.3727, allocations: 0.6836 MB / 0.5963 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.3827, allocations: 3.007 MB / 0.5992 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.3873, allocations: 1.507 MB / 0.6007 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3875, allocations: 177.7 kB / 0.6008 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007125/0.3882, allocations: 219.8 kB / 0.6011 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.4037, allocations: 9.702 MB / 0.6105 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/0.4037, allocations: 19.81 kB / 0.6105 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.4041, allocations: 119.7 kB / 0.6107 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003914/0.408, allocations: 2.435 MB / 0.613 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.4245, allocations: 8.815 MB / 0.6216 GB, free: 5.637 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04439/0.4688, allocations: 29.06 MB / 0.65 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/0.474, allocations: 2.264 MB / 0.6522 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.4754, allocations: 0.8594 MB / 0.6531 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.4754, allocations: 13 kB / 0.6531 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.4755, allocations: 39.56 kB / 0.6531 GB, free: 4.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.899e-06/0.4755, allocations: 0 / 0.6531 GB, free: 4.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.008006/0.4835, allocations: 3.387 MB / 0.6564 GB, free: 1.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.4835, allocations: 60.41 kB / 0.6565 GB, free: 1.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/0.4886, allocations: 3.135 MB / 0.6596 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.4888, allocations: 45.64 kB / 0.6596 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.4912, allocations: 2.787 MB / 0.6623 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000882/0.4921, allocations: 0.5892 MB / 0.6629 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.4936, allocations: 0.9767 MB / 0.6638 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4937, allocations: 305.1 kB / 0.6641 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.4963, allocations: 1.532 MB / 0.6656 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/0.5015, allocations: 4.447 MB / 0.67 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008962/0.5104, allocations: 6.543 MB / 0.6764 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.5106, allocations: 28 kB / 0.6764 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01209/0.5227, allocations: 5.841 MB / 0.6821 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5228, allocations: 50.97 kB / 0.6821 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/0.5229, allocations: 104 kB / 0.6822 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.5231, allocations: 136 kB / 0.6824 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/0.5271, allocations: 1.068 MB / 0.6834 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001975/0.5272, allocations: 199.2 kB / 0.6836 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.5311, allocations: 0.6978 MB / 0.6843 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/0.532, allocations: 296 kB / 0.6846 GB, free: 1.34 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.003319/0.5354, allocations: 1.955 MB / 0.6865 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.5358, allocations: 266.2 kB / 0.6867 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.5365, allocations: 331.8 kB / 0.6871 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/0.5365, allocations: 16 kB / 0.6871 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.5365, allocations: 4 kB / 0.6871 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.5365, allocations: 3.984 kB / 0.6871 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.5498, allocations: 6.666 MB / 0.6936 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.5498, allocations: 4 kB / 0.6936 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.5506, allocations: 180.6 kB / 0.6938 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.5506, allocations: 11.94 kB / 0.6938 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/0.5507, allocations: 32 kB / 0.6938 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.352e-05/0.5507, allocations: 15.94 kB / 0.6938 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.5508, allocations: 8 kB / 0.6938 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.5544, allocations: 2.277 MB / 0.6961 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/0.555, allocations: 289.8 kB / 0.6963 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.5554, allocations: 27.98 kB / 0.6964 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.5561, allocations: 47.95 kB / 0.6964 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5563, allocations: 84.3 kB / 0.6965 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5564, allocations: 51.98 kB / 0.6965 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003231/0.5596, allocations: 1.971 MB / 0.6985 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5596, allocations: 0 / 0.6985 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004038/0.5636, allocations: 1.02 MB / 0.6995 GB, free: 1.824 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.004037/0.5677, allocations: 2.903 MB / 0.7023 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006878/0.5746, allocations: 3.426 MB / 0.7056 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/0.5746, allocations: 4 kB / 0.7056 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.5759, allocations: 0.8642 MB / 0.7065 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.5778, allocations: 329.9 kB / 0.7068 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2734/0.8511, allocations: 33.51 MB / 0.7395 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/0.8547, allocations: 2.462 MB / 0.7419 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003341/0.858, allocations: 1.72 MB / 0.7436 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/0.86, allocations: 1.539 MB / 0.7451 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.844e-06/0.86, allocations: 4 kB / 0.7451 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0718/0.9318, allocations: 47.48 MB / 0.7915 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/19.43, allocations: 6.875 kB / 0.7915 GB, free: 100.9 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.98462784709409]