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.001723/0.001723, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002069/0.002069, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.41/1.41, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.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.2184/0.2184, allocations: 44.26 MB / 331.1 MB, free: 9.301 MB / 270.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.002324/0.002324, allocations: 71.91 kB / 468.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1186, allocations: 61.05 MB / 0.517 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.0183/0.1369, allocations: 14.63 MB / 0.5313 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009058/0.1459, allocations: 3.739 MB / 0.5349 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/0.1487, allocations: 115.6 kB / 0.535 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005939/0.1546, allocations: 2.152 MB / 0.5371 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2194/0.374, allocations: 2.611 MB / 0.5397 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3752, allocations: 304.4 kB / 0.54 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008583/0.3838, allocations: 6.358 MB / 0.5462 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006169/0.3899, allocations: 3.08 MB / 0.5492 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00551/0.3954, allocations: 2.17 MB / 0.5513 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006243/0.4017, allocations: 3.113 MB / 0.5543 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00244/0.4041, allocations: 389.7 kB / 0.5547 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.4077, allocations: 0.7209 MB / 0.5554 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005046/0.4127, allocations: 2.852 MB / 0.5582 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006782/0.4195, allocations: 2.348 MB / 0.5605 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.4331, allocations: 10.83 MB / 0.5711 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4331, allocations: 1.562 kB / 0.5711 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4331, allocations: 0 / 0.5711 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004463/0.4335, allocations: 1.094 kB / 0.5711 GB, free: 1.668 MB / 414.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.02066/0.4542, allocations: 7.176 MB / 0.5781 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4543, allocations: 10.34 kB / 0.5781 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003169/0.4546, allocations: 164 kB / 0.5783 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003624/0.4582, allocations: 1.272 MB / 0.5795 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/0.4789, allocations: 5.909 MB / 0.5853 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008894/0.4878, allocations: 3.261 MB / 0.5885 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.4881, allocations: 323.2 kB / 0.5888 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.4902, allocations: 418.1 kB / 0.5892 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03823/0.5284, allocations: 18.9 MB / 0.6076 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.5286, allocations: 31.69 kB / 0.6076 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/0.5305, allocations: 206.6 kB / 0.6078 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008701/0.5392, allocations: 4.748 MB / 0.6125 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03788/0.577, allocations: 17.53 MB / 0.6296 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1037/0.6808, allocations: 58.28 MB / 0.6865 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.6971, allocations: 6.328 MB / 0.6927 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004558/0.7017, allocations: 2.387 MB / 0.695 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02351/0.7252, allocations: 9.428 MB / 0.7042 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.7253, allocations: 56.5 kB / 0.7043 GB, free: 15.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=321): time 8.636e-06/0.7253, allocations: 4 kB / 0.7043 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=321): time 0.02109/0.7464, allocations: 7.536 MB / 0.7116 GB, free: 8.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.7465, allocations: 107 kB / 0.7118 GB, free: 8.105 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/0.758, allocations: 5.69 MB / 0.7173 GB, free: 2.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004564/0.7585, allocations: 64.75 kB / 0.7174 GB, free: 2.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005268/0.7638, allocations: 5.284 MB / 0.7225 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/0.7659, allocations: 1.258 MB / 0.7238 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005685/0.7716, allocations: 1.915 MB / 0.7256 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.7717, allocations: 309.1 kB / 0.7259 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006847/0.7786, allocations: 3.207 MB / 0.7291 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/0.7909, allocations: 8.653 MB / 0.7375 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/0.8084, allocations: 12.92 MB / 0.7501 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/0.8086, allocations: 56 kB / 0.7502 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.2371/1.046, allocations: 11.67 MB / 0.7616 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.046, allocations: 87.47 kB / 0.7617 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004151/1.046, allocations: 189.2 kB / 0.7618 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/1.047, allocations: 253.6 kB / 0.7621 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007833/1.054, allocations: 2.075 MB / 0.7641 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/1.055, allocations: 375.4 kB / 0.7645 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007856/1.063, allocations: 1.357 MB / 0.7658 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.065, allocations: 0.5595 MB / 0.7663 GB, free: 184.1 MB / 0.5919 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.009013/1.074, allocations: 3.701 MB / 0.7699 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.075, allocations: 0.4997 MB / 0.7704 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.077, allocations: 0.6432 MB / 0.7711 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001342/1.077, allocations: 59.47 kB / 0.7711 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.077, allocations: 5.031 kB / 0.7711 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/1.077, allocations: 14.8 kB / 0.7711 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02774/1.105, allocations: 12.25 MB / 0.7831 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/1.105, allocations: 14.28 kB / 0.7831 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.107, allocations: 423.4 kB / 0.7835 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.634e-05/1.107, allocations: 23.62 kB / 0.7835 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/1.107, allocations: 61.12 kB / 0.7836 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.088e-05/1.107, allocations: 28.73 kB / 0.7836 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/1.107, allocations: 24.52 kB / 0.7837 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/1.113, allocations: 4.662 MB / 0.7882 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.114, allocations: 0.5158 MB / 0.7887 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.116, allocations: 57.22 kB / 0.7888 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.118, allocations: 125.7 kB / 0.7889 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005711/1.118, allocations: 191.9 kB / 0.7891 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.119, allocations: 96.45 kB / 0.7892 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007214/1.126, allocations: 3.497 MB / 0.7926 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.41e-07/1.126, allocations: 0 / 0.7926 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01241/1.138, allocations: 2.009 MB / 0.7945 GB, free: 175.6 MB / 0.5919 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.006693/1.145, allocations: 5.349 MB / 0.7998 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.155, allocations: 7.002 MB / 0.8066 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.917e-05/1.155, allocations: 4 kB / 0.8066 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/1.158, allocations: 1.869 MB / 0.8084 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.162, allocations: 0.6226 MB / 0.809 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09612/1.258, allocations: 68.36 MB / 0.8758 GB, free: 95.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007513/1.265, allocations: 4.942 MB / 0.8806 GB, free: 90.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007582/1.273, allocations: 3.544 MB / 0.8841 GB, free: 87.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004919/1.278, allocations: 3.323 MB / 0.8873 GB, free: 83.73 MB / 0.5919 GB Notification: Performance of SimCode: time 1.392e-06/1.278, allocations: 0 / 0.8873 GB, free: 83.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.409, allocations: 90.21 MB / 0.9754 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.09/27.5, allocations: 8 kB / 0.9754 GB, free: 9.508 MB / 0.6075 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.868636893108487]