Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 120.3 kB / 17.84 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 207.6 MB / 231.2 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3148/0.3148, allocations: 44.23 MB / 327.3 MB, free: 6.723 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 67.91 kB / 463 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2436, allocations: 61.01 MB / 0.5117 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01254/0.2561, allocations: 17.11 MB / 0.5284 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2662, allocations: 3.906 MB / 0.5322 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/0.2691, allocations: 111.6 kB / 0.5323 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.2739, allocations: 2.222 MB / 0.5345 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.2805, allocations: 2.588 MB / 0.537 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.2815, allocations: 307.4 kB / 0.5373 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.291, allocations: 6.368 MB / 0.5435 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/0.2955, allocations: 2.96 MB / 0.5464 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.2992, allocations: 2.164 MB / 0.5485 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004616/0.3038, allocations: 3.118 MB / 0.5516 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.3049, allocations: 392 kB / 0.552 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.3069, allocations: 0.8192 MB / 0.5528 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002926/0.3098, allocations: 2.858 MB / 0.5556 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004115/0.3139, allocations: 3.353 MB / 0.5588 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.3267, allocations: 10.76 MB / 0.5693 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3267, allocations: 0 / 0.5693 GB, free: 3.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3267, allocations: 0 / 0.5693 GB, free: 3.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003089/0.327, allocations: 0 / 0.5693 GB, free: 3.664 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01442/0.3414, allocations: 7.246 MB / 0.5764 GB, free: 12.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3414, allocations: 11.89 kB / 0.5764 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000199/0.3416, allocations: 164.4 kB / 0.5766 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002547/0.3442, allocations: 1.272 MB / 0.5778 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02061/0.3648, allocations: 5.911 MB / 0.5836 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/0.3722, allocations: 3.305 MB / 0.5868 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.3725, allocations: 323.8 kB / 0.5871 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.3742, allocations: 419.7 kB / 0.5875 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.406, allocations: 18.88 MB / 0.606 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.4061, allocations: 39.67 kB / 0.606 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008869/0.407, allocations: 203.7 kB / 0.6062 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008066/0.4151, allocations: 4.754 MB / 0.6108 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03464/0.4497, allocations: 17.52 MB / 0.628 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/0.7497, allocations: 60.98 MB / 0.6875 GB, free: 74.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.7624, allocations: 8.163 MB / 0.6955 GB, free: 70.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.766, allocations: 2.39 MB / 0.6978 GB, free: 69.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01848/0.7845, allocations: 11.89 MB / 0.7094 GB, free: 62.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.7845, allocations: 55.31 kB / 0.7095 GB, free: 62.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 8.075e-06/0.7845, allocations: 8.984 kB / 0.7095 GB, free: 62.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01655/0.8011, allocations: 7.533 MB / 0.7168 GB, free: 59.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8011, allocations: 102 kB / 0.7169 GB, free: 58.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008352/0.8095, allocations: 5.691 MB / 0.7225 GB, free: 53.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.81, allocations: 65.53 kB / 0.7226 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.8127, allocations: 5.291 MB / 0.7277 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.8141, allocations: 1.251 MB / 0.729 GB, free: 47.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003602/0.8177, allocations: 1.917 MB / 0.7308 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.8177, allocations: 305.1 kB / 0.7311 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/0.822, allocations: 3.208 MB / 0.7342 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006136/0.8281, allocations: 8.65 MB / 0.7427 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.8382, allocations: 12.92 MB / 0.7553 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/0.8384, allocations: 55.94 kB / 0.7554 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.017/0.8554, allocations: 11.67 MB / 0.7668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.8555, allocations: 88 kB / 0.7668 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002571/0.8558, allocations: 188 kB / 0.767 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.8561, allocations: 252 kB / 0.7673 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0062/0.8623, allocations: 2.074 MB / 0.7693 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002763/0.8625, allocations: 379.1 kB / 0.7696 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00693/0.8695, allocations: 1.367 MB / 0.771 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/0.871, allocations: 0.5547 MB / 0.7715 GB, free: 14.51 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.006922/0.8779, allocations: 3.702 MB / 0.7751 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.879, allocations: 0.5005 MB / 0.7756 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.8808, allocations: 0.6489 MB / 0.7763 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/0.881, allocations: 57.94 kB / 0.7763 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.881, allocations: 0 / 0.7763 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/0.881, allocations: 11.95 kB / 0.7763 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/0.9071, allocations: 12.63 MB / 0.7887 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/0.9072, allocations: 12.94 kB / 0.7887 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/0.9091, allocations: 423.3 kB / 0.7891 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.773e-05/0.9091, allocations: 27.94 kB / 0.7891 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/0.9094, allocations: 67.97 kB / 0.7892 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.055e-05/0.9095, allocations: 31.92 kB / 0.7892 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-05/0.9095, allocations: 23.88 kB / 0.7892 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006955/0.9164, allocations: 4.66 MB / 0.7938 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.9177, allocations: 0.5867 MB / 0.7944 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009806/0.9187, allocations: 55.98 kB / 0.7944 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.9208, allocations: 131.8 kB / 0.7945 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/0.9212, allocations: 180.7 kB / 0.7947 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/0.9214, allocations: 99.98 kB / 0.7948 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00693/0.9284, allocations: 3.49 MB / 0.7982 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9284, allocations: 0 / 0.7982 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008587/0.937, allocations: 2.01 MB / 0.8002 GB, free: 0.6836 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.00951/0.9465, allocations: 5.343 MB / 0.8054 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01211/0.9586, allocations: 7.005 MB / 0.8122 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.9586, allocations: 4.062 kB / 0.8122 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003024/0.9616, allocations: 1.865 MB / 0.8141 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/0.9654, allocations: 0.624 MB / 0.8147 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1132/1.079, allocations: 68.38 MB / 0.8814 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2318/1.31, allocations: 5.41 MB / 0.8867 GB, free: 228 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.009211/1.32, allocations: 3.545 MB / 0.8902 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004547/1.324, allocations: 3.33 MB / 0.8934 GB, free: 226.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.102e-06/1.324, allocations: 0.5625 kB / 0.8934 GB, free: 226.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/1.438, allocations: 91.92 MB / 0.9832 GB, free: 148.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.34/27.78, allocations: 8 kB / 0.9832 GB, free: 148.8 MB / 0.6231 GB " [Timeout remaining time 632] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 31.815637171966955]