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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 112.8 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.409/1.409, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 179] 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.3095/0.3095, allocations: 44.23 MB / 326.5 MB, free: 6.828 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2359, allocations: 61 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01276/0.2487, allocations: 17.13 MB / 0.5277 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.2571, allocations: 3.91 MB / 0.5315 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.2596, allocations: 99.81 kB / 0.5316 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004537/0.2642, allocations: 2.214 MB / 0.5338 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.2701, allocations: 2.603 MB / 0.5363 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.2711, allocations: 287.5 kB / 0.5366 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008683/0.2798, allocations: 6.371 MB / 0.5428 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004252/0.284, allocations: 2.96 MB / 0.5457 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.2875, allocations: 2.133 MB / 0.5478 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.2919, allocations: 3.118 MB / 0.5508 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.2931, allocations: 392 kB / 0.5512 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.2952, allocations: 0.8154 MB / 0.552 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00318/0.2984, allocations: 2.862 MB / 0.5548 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004712/0.3031, allocations: 3.349 MB / 0.558 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3163, allocations: 10.76 MB / 0.5686 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3163, allocations: 0 / 0.5686 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3163, allocations: 0 / 0.5686 GB, free: 3.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003634/0.3167, allocations: 0 / 0.5686 GB, free: 3.738 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.01293/0.3296, allocations: 7.242 MB / 0.5756 GB, free: 12.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3296, allocations: 15.89 kB / 0.5756 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002339/0.332, allocations: 1.272 MB / 0.5769 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.351, allocations: 5.911 MB / 0.5827 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00859/0.3596, allocations: 3.305 MB / 0.5859 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.3599, allocations: 324 kB / 0.5862 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.3615, allocations: 419.7 kB / 0.5866 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/0.3931, allocations: 18.88 MB / 0.605 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.3933, allocations: 43.61 kB / 0.6051 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008847/0.3941, allocations: 203.7 kB / 0.6053 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007331/0.4015, allocations: 4.75 MB / 0.6099 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03306/0.4345, allocations: 17.52 MB / 0.627 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2976/0.7321, allocations: 60.99 MB / 0.6866 GB, free: 73.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.7439, allocations: 8.164 MB / 0.6945 GB, free: 69.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/0.7467, allocations: 2.388 MB / 0.6969 GB, free: 68.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/0.7651, allocations: 11.89 MB / 0.7085 GB, free: 62.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.7651, allocations: 57.12 kB / 0.7085 GB, free: 62.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 7.334e-06/0.7651, allocations: 0 / 0.7085 GB, free: 62.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01425/0.7794, allocations: 7.54 MB / 0.7159 GB, free: 58.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.7794, allocations: 102.9 kB / 0.716 GB, free: 58.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/0.7854, allocations: 5.696 MB / 0.7216 GB, free: 53.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.7856, allocations: 69.47 kB / 0.7216 GB, free: 53.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.7876, allocations: 5.283 MB / 0.7268 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009348/0.7885, allocations: 1.256 MB / 0.728 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/0.7904, allocations: 1.917 MB / 0.7299 GB, free: 45.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.263e-05/0.7904, allocations: 305.1 kB / 0.7302 GB, free: 45.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/0.7938, allocations: 3.204 MB / 0.7333 GB, free: 42.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/0.7991, allocations: 8.65 MB / 0.7418 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009634/0.8088, allocations: 12.92 MB / 0.7544 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/0.8089, allocations: 57.31 kB / 0.7544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01661/0.8255, allocations: 11.68 MB / 0.7658 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/0.8256, allocations: 88 kB / 0.7659 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.8257, allocations: 192 kB / 0.7661 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.8259, allocations: 252 kB / 0.7663 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005814/0.8317, allocations: 2.074 MB / 0.7684 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001939/0.8319, allocations: 370.6 kB / 0.7687 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005872/0.8378, allocations: 1.369 MB / 0.7701 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/0.8389, allocations: 0.5575 MB / 0.7706 GB, free: 14.7 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.005898/0.8448, allocations: 3.7 MB / 0.7742 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007862/0.8456, allocations: 0.4966 MB / 0.7747 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.8469, allocations: 0.6411 MB / 0.7753 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/0.847, allocations: 58.17 kB / 0.7754 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.847, allocations: 0 / 0.7754 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.847, allocations: 19.89 kB / 0.7754 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/0.8703, allocations: 12.63 MB / 0.7877 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/0.8703, allocations: 16 kB / 0.7877 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.872, allocations: 419.3 kB / 0.7881 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/0.8721, allocations: 27.94 kB / 0.7882 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.8722, allocations: 64.59 kB / 0.7882 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.83e-05/0.8722, allocations: 31.86 kB / 0.7883 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/0.8723, allocations: 23.88 kB / 0.7883 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/0.8783, allocations: 4.668 MB / 0.7929 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.8796, allocations: 0.5828 MB / 0.7934 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000657/0.8803, allocations: 55.98 kB / 0.7935 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.8817, allocations: 131.8 kB / 0.7936 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.882, allocations: 180.7 kB / 0.7938 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/0.8822, allocations: 99.94 kB / 0.7939 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005675/0.8879, allocations: 3.49 MB / 0.7973 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.8879, allocations: 0 / 0.7973 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007744/0.8957, allocations: 2.006 MB / 0.7992 GB, free: 0.9023 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.007226/0.9029, allocations: 5.347 MB / 0.8045 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01212/0.915, allocations: 7.001 MB / 0.8113 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.915, allocations: 4 kB / 0.8113 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002993/0.918, allocations: 1.874 MB / 0.8131 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/0.9217, allocations: 0.6167 MB / 0.8137 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1019/1.024, allocations: 68.38 MB / 0.8805 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2148/1.238, allocations: 5.413 MB / 0.8858 GB, free: 227.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008728/1.247, allocations: 3.542 MB / 0.8892 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00438/1.252, allocations: 3.33 MB / 0.8925 GB, free: 226.8 MB / 0.6231 GB Notification: Performance of SimCode: time 1.202e-06/1.252, allocations: 0.625 kB / 0.8925 GB, free: 226.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/1.368, allocations: 91.87 MB / 0.9822 GB, free: 149.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.24/24.61, allocations: 7.938 kB / 0.9822 GB, free: 149.1 MB / 0.6231 GB " [Timeout remaining time 635] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.990049263928086]