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.001295/0.001295, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001572/0.001572, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2311/0.2311, allocations: 46.92 MB / 361.6 MB, free: 4.168 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.002296/0.002296, allocations: 71.89 kB / 0.4969 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3197, allocations: 66.1 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01447/0.3341, allocations: 11.44 MB / 0.5727 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.3415, allocations: 2.87 MB / 0.5755 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.3433, allocations: 63.75 kB / 0.5755 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.3467, allocations: 1.351 MB / 0.5769 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.35, allocations: 1.292 MB / 0.5781 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.3505, allocations: 79.86 kB / 0.5782 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.3546, allocations: 2.771 MB / 0.5809 GB, free: 360 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.3573, allocations: 1.619 MB / 0.5825 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.3594, allocations: 1.082 MB / 0.5835 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.3621, allocations: 1.635 MB / 0.5851 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.3628, allocations: 208 kB / 0.5853 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.3643, allocations: 0.507 MB / 0.5858 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.3663, allocations: 1.464 MB / 0.5873 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.369, allocations: 1.719 MB / 0.5889 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007251/0.3763, allocations: 5.515 MB / 0.5943 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3763, allocations: 4 kB / 0.5943 GB, free: 2.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3763, allocations: 0 / 0.5943 GB, free: 2.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.3764, allocations: 0 / 0.5943 GB, free: 2.512 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.00681/0.3832, allocations: 3.659 MB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3833, allocations: 8.031 kB / 0.5979 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001134/0.3834, allocations: 88.64 kB / 0.598 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.3846, allocations: 0.6835 MB / 0.5987 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.3954, allocations: 3.001 MB / 0.6016 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.3992, allocations: 1.5 MB / 0.603 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.3994, allocations: 176.4 kB / 0.6032 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008114/0.4002, allocations: 223.8 kB / 0.6034 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.4182, allocations: 9.698 MB / 0.6129 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.288e-05/0.4182, allocations: 27.75 kB / 0.6129 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005879/0.4188, allocations: 111.8 kB / 0.613 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.4231, allocations: 2.439 MB / 0.6154 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.4414, allocations: 8.814 MB / 0.624 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0502/0.4916, allocations: 30.5 MB / 0.6538 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/0.4972, allocations: 2.271 MB / 0.656 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.4987, allocations: 0.8555 MB / 0.6569 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/0.4988, allocations: 20.98 kB / 0.6569 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4988, allocations: 43.56 kB / 0.6569 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.579e-06/0.4988, allocations: 0 / 0.6569 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.008487/0.5073, allocations: 3.391 MB / 0.6602 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.5074, allocations: 60.41 kB / 0.6603 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006301/0.5137, allocations: 3.123 MB / 0.6633 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/0.514, allocations: 41.7 kB / 0.6634 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002785/0.5167, allocations: 2.794 MB / 0.6661 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.5176, allocations: 0.5931 MB / 0.6667 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/0.5197, allocations: 0.9806 MB / 0.6676 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5198, allocations: 301.1 kB / 0.6679 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.5226, allocations: 1.528 MB / 0.6694 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005669/0.5282, allocations: 4.451 MB / 0.6738 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008666/0.5369, allocations: 6.547 MB / 0.6802 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.534e-05/0.537, allocations: 28 kB / 0.6802 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0118/0.5488, allocations: 5.837 MB / 0.6859 GB, free: 316 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.5489, allocations: 48 kB / 0.6859 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/0.5491, allocations: 104.8 kB / 0.686 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.5493, allocations: 139.9 kB / 0.6862 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/0.553, allocations: 1.057 MB / 0.6872 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002527/0.5532, allocations: 203.2 kB / 0.6874 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/0.5573, allocations: 0.6978 MB / 0.6881 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007804/0.5581, allocations: 296 kB / 0.6884 GB, free: 13.77 MB / 0.5294 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.004277/0.5623, allocations: 1.942 MB / 0.6903 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.563, allocations: 278.1 kB / 0.6905 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.564, allocations: 335.7 kB / 0.6908 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.564, allocations: 19.94 kB / 0.6909 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.5641, allocations: 0 / 0.6909 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.5641, allocations: 3.984 kB / 0.6909 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.5776, allocations: 6.85 MB / 0.6976 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.5776, allocations: 11.98 kB / 0.6976 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000815/0.5784, allocations: 175.7 kB / 0.6977 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/0.5785, allocations: 19.88 kB / 0.6978 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5786, allocations: 28 kB / 0.6978 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-05/0.5786, allocations: 19.98 kB / 0.6978 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.5786, allocations: 11.94 kB / 0.6978 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.5818, allocations: 2.277 MB / 0.7 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007313/0.5826, allocations: 281.8 kB / 0.7003 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/0.583, allocations: 27.94 kB / 0.7003 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/0.584, allocations: 43.95 kB / 0.7004 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.5842, allocations: 84.41 kB / 0.7005 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.5843, allocations: 51.98 kB / 0.7005 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003601/0.5879, allocations: 1.979 MB / 0.7024 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5879, allocations: 0 / 0.7024 GB, free: 15.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004018/0.5919, allocations: 1.005 MB / 0.7034 GB, free: 14.07 MB / 0.545 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.00393/0.5958, allocations: 2.915 MB / 0.7063 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00578/0.6016, allocations: 3.434 MB / 0.7096 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/0.6016, allocations: 4 kB / 0.7096 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.603, allocations: 0.8564 MB / 0.7105 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.6053, allocations: 319 kB / 0.7108 GB, free: 6.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3141/0.9193, allocations: 33.52 MB / 0.7435 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004427/0.9238, allocations: 3.004 MB / 0.7464 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003548/0.9273, allocations: 1.723 MB / 0.7481 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/0.9296, allocations: 1.542 MB / 0.7496 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.9296, allocations: 4 kB / 0.7496 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08392/1.014, allocations: 49.93 MB / 0.7984 GB, free: 96.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/19.59, allocations: 14.02 kB / 0.7984 GB, free: 96.25 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: 23.108670987014193]