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.001659/0.001659, allocations: 114 kB / 20.43 MB, free: 1.457 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.002005/0.002005, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.2434/0.2434, allocations: 46.93 MB / 360.8 MB, free: 4.156 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.002567/0.002567, allocations: 76.2 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3747, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01377/0.3884, allocations: 11.44 MB / 0.5719 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.3952, allocations: 2.87 MB / 0.5747 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.3968, allocations: 63.81 kB / 0.5748 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.3998, allocations: 1.358 MB / 0.5761 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.403, allocations: 1.287 MB / 0.5773 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.4034, allocations: 79.84 kB / 0.5774 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.4076, allocations: 2.767 MB / 0.5801 GB, free: 352 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.4103, allocations: 1.619 MB / 0.5817 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.4129, allocations: 1.078 MB / 0.5828 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.4166, allocations: 1.643 MB / 0.5844 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007702/0.4173, allocations: 208 kB / 0.5846 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.4188, allocations: 0.4954 MB / 0.585 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.4206, allocations: 1.476 MB / 0.5865 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.4231, allocations: 1.719 MB / 0.5882 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00685/0.43, allocations: 5.511 MB / 0.5935 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.43, allocations: 0 / 0.5935 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.43, allocations: 3.938 kB / 0.5936 GB, free: 2.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001394/0.4301, allocations: 4 kB / 0.5936 GB, free: 2.5 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.006092/0.4362, allocations: 3.667 MB / 0.5971 GB, free: 14.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4363, allocations: 8.031 kB / 0.5971 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008514/0.4371, allocations: 0.6758 MB / 0.5978 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009974/0.4471, allocations: 3.001 MB / 0.6007 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.4509, allocations: 1.5 MB / 0.6022 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.4511, allocations: 172.7 kB / 0.6024 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/0.4516, allocations: 227.7 kB / 0.6026 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.4672, allocations: 9.702 MB / 0.6121 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.611e-05/0.4672, allocations: 19.81 kB / 0.6121 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.4676, allocations: 115.8 kB / 0.6122 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/0.4715, allocations: 2.435 MB / 0.6146 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.488, allocations: 8.81 MB / 0.6232 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04548/0.5335, allocations: 30.51 MB / 0.653 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.5387, allocations: 2.266 MB / 0.6552 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.54, allocations: 0.8601 MB / 0.656 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.5401, allocations: 16.98 kB / 0.656 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.5401, allocations: 51.5 kB / 0.6561 GB, free: 1.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.338e-06/0.5401, allocations: 0 / 0.6561 GB, free: 1.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007549/0.5477, allocations: 3.383 MB / 0.6594 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.5477, allocations: 64.34 kB / 0.6594 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004902/0.5526, allocations: 3.119 MB / 0.6625 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.5528, allocations: 41.7 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.5551, allocations: 2.794 MB / 0.6653 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007688/0.5559, allocations: 0.5892 MB / 0.6658 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/0.5574, allocations: 0.9806 MB / 0.6668 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5575, allocations: 301.1 kB / 0.6671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.5599, allocations: 1.528 MB / 0.6686 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/0.5651, allocations: 4.459 MB / 0.6729 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008969/0.5741, allocations: 6.535 MB / 0.6793 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/0.5742, allocations: 31.98 kB / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0112/0.5854, allocations: 5.841 MB / 0.685 GB, free: 400 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.5855, allocations: 48 kB / 0.6851 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.5856, allocations: 107.9 kB / 0.6852 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.5858, allocations: 136.8 kB / 0.6853 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.5892, allocations: 1.06 MB / 0.6864 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001997/0.5894, allocations: 203.2 kB / 0.6865 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.5928, allocations: 0.7017 MB / 0.6872 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/0.5933, allocations: 296 kB / 0.6875 GB, free: 13.85 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.003177/0.5965, allocations: 1.95 MB / 0.6894 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/0.5969, allocations: 270.1 kB / 0.6897 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.5976, allocations: 335.8 kB / 0.69 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.5977, allocations: 19.94 kB / 0.69 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.5977, allocations: 0 / 0.69 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5977, allocations: 3.984 kB / 0.69 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.6098, allocations: 6.854 MB / 0.6967 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.6098, allocations: 8 kB / 0.6967 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.6105, allocations: 175.7 kB / 0.6969 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.453e-05/0.6106, allocations: 12 kB / 0.6969 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.6106, allocations: 31.94 kB / 0.6969 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.6106, allocations: 11.98 kB / 0.6969 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.6107, allocations: 11.94 kB / 0.697 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/0.6137, allocations: 2.273 MB / 0.6992 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/0.6144, allocations: 289.8 kB / 0.6995 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.6147, allocations: 31.92 kB / 0.6995 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.6154, allocations: 47.95 kB / 0.6995 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.6155, allocations: 80.41 kB / 0.6996 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.6156, allocations: 51.98 kB / 0.6997 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003264/0.6189, allocations: 1.975 MB / 0.7016 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6189, allocations: 0 / 0.7016 GB, free: 15.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003867/0.6228, allocations: 1.005 MB / 0.7026 GB, free: 14.16 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.003583/0.6263, allocations: 2.915 MB / 0.7054 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005553/0.6319, allocations: 3.43 MB / 0.7088 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.6319, allocations: 4 kB / 0.7088 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.6331, allocations: 0.8603 MB / 0.7096 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.6349, allocations: 325.2 kB / 0.7099 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3094/0.9443, allocations: 33.51 MB / 0.7426 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/0.9469, allocations: 3.006 MB / 0.7456 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003033/0.95, allocations: 1.726 MB / 0.7473 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/0.9515, allocations: 1.532 MB / 0.7488 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.9515, allocations: 3.938 kB / 0.7488 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/1.033, allocations: 49.91 MB / 0.7975 GB, free: 96.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/20.13, allocations: 10.89 kB / 0.7975 GB, free: 96.54 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.53031733399257]