Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001566/0.001566, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00185/0.00185, allocations: 213.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 46.94 MB / 360.9 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.08 kB / 0.4961 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2975, allocations: 66.04 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01948/0.317, allocations: 17.01 MB / 0.5773 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.3259, allocations: 3.976 MB / 0.5811 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.3284, allocations: 111.6 kB / 0.5812 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005094/0.3335, allocations: 2.245 MB / 0.5834 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006614/0.3401, allocations: 2.6 MB / 0.586 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3413, allocations: 303.5 kB / 0.5863 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009564/0.3508, allocations: 6.546 MB / 0.5927 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004744/0.3556, allocations: 3.086 MB / 0.5957 GB, free: 452 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003685/0.3593, allocations: 2.148 MB / 0.5978 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004747/0.364, allocations: 3.102 MB / 0.6008 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00138/0.3654, allocations: 392 kB / 0.6012 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.3678, allocations: 0.8387 MB / 0.602 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.3713, allocations: 2.811 MB / 0.6047 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00525/0.3766, allocations: 3.314 MB / 0.608 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01368/0.3903, allocations: 10.65 MB / 0.6184 GB, free: 9.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3903, allocations: 0 / 0.6184 GB, free: 9.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3903, allocations: 3.938 kB / 0.6184 GB, free: 9.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003282/0.3906, allocations: 0 / 0.6184 GB, free: 9.09 MB / 462.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.01459/0.4052, allocations: 7.101 MB / 0.6253 GB, free: 1.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4052, allocations: 12.03 kB / 0.6253 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003015/0.4083, allocations: 1.272 MB / 0.6266 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/0.428, allocations: 5.911 MB / 0.6323 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00867/0.4366, allocations: 3.225 MB / 0.6355 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.437, allocations: 336 kB / 0.6358 GB, free: 7.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.4389, allocations: 411.7 kB / 0.6362 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/0.4742, allocations: 18.89 MB / 0.6546 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.4744, allocations: 31.69 kB / 0.6547 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/0.4759, allocations: 207.7 kB / 0.6549 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007851/0.4837, allocations: 4.749 MB / 0.6595 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03538/0.5191, allocations: 17.53 MB / 0.6766 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3316/0.8508, allocations: 61.05 MB / 0.7363 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.8631, allocations: 6.354 MB / 0.7425 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.8658, allocations: 2.392 MB / 0.7448 GB, free: 134 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.8836, allocations: 9.898 MB / 0.7545 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.8836, allocations: 62.69 kB / 0.7545 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.012e-06/0.8837, allocations: 0 / 0.7545 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01401/0.8977, allocations: 7.541 MB / 0.7619 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8977, allocations: 98.64 kB / 0.762 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006335/0.904, allocations: 5.684 MB / 0.7675 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002792/0.9043, allocations: 69.08 kB / 0.7676 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.9069, allocations: 5.284 MB / 0.7728 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009777/0.9079, allocations: 1.25 MB / 0.774 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/0.9097, allocations: 1.923 MB / 0.7759 GB, free: 122 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.9098, allocations: 303.2 kB / 0.7761 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003476/0.9133, allocations: 3.208 MB / 0.7793 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/0.9181, allocations: 8.651 MB / 0.7877 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009456/0.9276, allocations: 12.91 MB / 0.8003 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.681e-05/0.9277, allocations: 55.75 kB / 0.8004 GB, free: 91.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01421/0.9419, allocations: 11.68 MB / 0.8118 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.003e-05/0.942, allocations: 84 kB / 0.8119 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.9421, allocations: 192 kB / 0.812 GB, free: 79.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.9423, allocations: 252 kB / 0.8123 GB, free: 79.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005639/0.9479, allocations: 2.078 MB / 0.8143 GB, free: 77.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/0.9481, allocations: 370.6 kB / 0.8147 GB, free: 77.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/0.9535, allocations: 1.368 MB / 0.816 GB, free: 75.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000815/0.9543, allocations: 0.5462 MB / 0.8165 GB, free: 75.19 MB / 0.5606 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.004315/0.9586, allocations: 3.71 MB / 0.8202 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.9591, allocations: 0.5004 MB / 0.8207 GB, free: 70.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.9603, allocations: 0.6449 MB / 0.8213 GB, free: 70.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.514e-05/0.9603, allocations: 55.42 kB / 0.8213 GB, free: 70.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/0.9604, allocations: 4 kB / 0.8213 GB, free: 70.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.9604, allocations: 11.95 kB / 0.8214 GB, free: 70.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.9777, allocations: 12.62 MB / 0.8337 GB, free: 57.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.9777, allocations: 12 kB / 0.8337 GB, free: 57.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.9793, allocations: 419.3 kB / 0.8341 GB, free: 56.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.9793, allocations: 24 kB / 0.8341 GB, free: 56.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.9794, allocations: 59.98 kB / 0.8342 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.9794, allocations: 31.88 kB / 0.8342 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.9795, allocations: 23.92 kB / 0.8342 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.9836, allocations: 4.656 MB / 0.8388 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/0.9846, allocations: 0.5114 MB / 0.8393 GB, free: 51.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/0.9851, allocations: 59.66 kB / 0.8393 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.9865, allocations: 131.7 kB / 0.8394 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.9868, allocations: 184.3 kB / 0.8396 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.9869, allocations: 99.98 kB / 0.8397 GB, free: 50.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003958/0.9909, allocations: 3.486 MB / 0.8431 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9909, allocations: 3.938 kB / 0.8431 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006036/0.9969, allocations: 1.977 MB / 0.8451 GB, free: 45.54 MB / 0.5606 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.004635/1.002, allocations: 5.338 MB / 0.8503 GB, free: 39.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007958/1.01, allocations: 7.004 MB / 0.8571 GB, free: 33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.01, allocations: 0 / 0.8571 GB, free: 33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.011, allocations: 1.873 MB / 0.8589 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.014, allocations: 0.6249 MB / 0.8596 GB, free: 30.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09091/1.105, allocations: 68.35 MB / 0.9263 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/1.114, allocations: 5.415 MB / 0.9316 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008356/1.122, allocations: 3.543 MB / 0.935 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005469/1.128, allocations: 3.327 MB / 0.9383 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/1.128, allocations: 0 / 0.9383 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3835/1.511, allocations: 95.42 MB / 1.031 GB, free: 218.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.32/28.83, allocations: 0 / 1.031 GB, free: 218.3 MB / 0.67 GB " [Timeout remaining time 631] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 32.30468171508983]