Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001865/0.001865, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002454/0.002454, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.92 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002232/0.002232, allocations: 67.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.294, allocations: 65.46 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01928/0.3133, allocations: 17.01 MB / 0.5736 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.3224, allocations: 3.988 MB / 0.5775 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.3247, allocations: 111.6 kB / 0.5776 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.3297, allocations: 2.238 MB / 0.5798 GB, free: 352 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.336, allocations: 2.604 MB / 0.5824 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.337, allocations: 299.5 kB / 0.5826 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009395/0.3464, allocations: 6.557 MB / 0.589 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.3512, allocations: 3.07 MB / 0.592 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.3548, allocations: 2.156 MB / 0.5942 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.3598, allocations: 3.102 MB / 0.5972 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.3611, allocations: 396 kB / 0.5976 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.3636, allocations: 0.8309 MB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003824/0.3674, allocations: 2.819 MB / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005579/0.373, allocations: 3.302 MB / 0.6043 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.3883, allocations: 10.66 MB / 0.6148 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3883, allocations: 0 / 0.6148 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3883, allocations: 0 / 0.6148 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003685/0.3887, allocations: 0 / 0.6148 GB, free: 12.39 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.01513/0.4038, allocations: 7.105 MB / 0.6217 GB, free: 5.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4039, allocations: 8.031 kB / 0.6217 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002973/0.4068, allocations: 1.276 MB / 0.6229 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.4269, allocations: 5.903 MB / 0.6287 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009/0.4359, allocations: 3.229 MB / 0.6319 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.4363, allocations: 324 kB / 0.6322 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.4381, allocations: 419.7 kB / 0.6326 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/0.4719, allocations: 18.89 MB / 0.651 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.4721, allocations: 39.69 kB / 0.6511 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.4734, allocations: 199.7 kB / 0.6512 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007844/0.4813, allocations: 4.75 MB / 0.6559 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/0.5171, allocations: 17.54 MB / 0.673 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/0.6177, allocations: 61.05 MB / 0.7326 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2375/0.8552, allocations: 6.347 MB / 0.7388 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.8581, allocations: 2.396 MB / 0.7412 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.8741, allocations: 9.894 MB / 0.7508 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.8741, allocations: 60.94 kB / 0.7509 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 5.761e-06/0.8741, allocations: 0 / 0.7509 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01498/0.8891, allocations: 7.545 MB / 0.7583 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.8891, allocations: 103.5 kB / 0.7584 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006823/0.896, allocations: 5.679 MB / 0.7639 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.8963, allocations: 73.16 kB / 0.764 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/0.8989, allocations: 5.288 MB / 0.7691 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.9, allocations: 1.246 MB / 0.7704 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.9021, allocations: 1.923 MB / 0.7722 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.9022, allocations: 301.1 kB / 0.7725 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/0.9058, allocations: 3.208 MB / 0.7757 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005313/0.9111, allocations: 8.653 MB / 0.7841 GB, free: 118 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.9214, allocations: 12.91 MB / 0.7967 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/0.9216, allocations: 52 kB / 0.7968 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01643/0.938, allocations: 11.68 MB / 0.8082 GB, free: 90.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.9382, allocations: 88 kB / 0.8082 GB, free: 90.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/0.9384, allocations: 188 kB / 0.8084 GB, free: 90.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.9386, allocations: 259.9 kB / 0.8087 GB, free: 90.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/0.9445, allocations: 2.074 MB / 0.8107 GB, free: 88.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002388/0.9448, allocations: 374.5 kB / 0.8111 GB, free: 87.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006025/0.9508, allocations: 1.364 MB / 0.8124 GB, free: 86.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.9519, allocations: 0.5581 MB / 0.8129 GB, free: 85.78 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.004844/0.9567, allocations: 3.694 MB / 0.8165 GB, free: 82.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007208/0.9574, allocations: 0.5004 MB / 0.817 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.9588, allocations: 0.6527 MB / 0.8177 GB, free: 80.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-05/0.9588, allocations: 59.42 kB / 0.8177 GB, free: 80.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.9588, allocations: 0 / 0.8177 GB, free: 80.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.9589, allocations: 11.95 kB / 0.8177 GB, free: 80.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.9774, allocations: 12.6 MB / 0.83 GB, free: 68.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/0.9775, allocations: 16 kB / 0.8301 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.9791, allocations: 419.3 kB / 0.8305 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/0.9791, allocations: 27.94 kB / 0.8305 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/0.9793, allocations: 67.42 kB / 0.8305 GB, free: 67.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-05/0.9794, allocations: 23.94 kB / 0.8306 GB, free: 67.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.9794, allocations: 24.34 kB / 0.8306 GB, free: 67.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/0.984, allocations: 4.663 MB / 0.8351 GB, free: 62.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009834/0.985, allocations: 0.5075 MB / 0.8356 GB, free: 62.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008302/0.9858, allocations: 63.92 kB / 0.8357 GB, free: 61.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.9876, allocations: 127.3 kB / 0.8358 GB, free: 61.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.9879, allocations: 180.7 kB / 0.836 GB, free: 61.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.9881, allocations: 103.3 kB / 0.8361 GB, free: 61.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004749/0.9928, allocations: 3.486 MB / 0.8395 GB, free: 58.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9928, allocations: 0 / 0.8395 GB, free: 58.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006656/0.9995, allocations: 1.974 MB / 0.8414 GB, free: 56.15 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.005614/1.005, allocations: 5.338 MB / 0.8466 GB, free: 50.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008846/1.014, allocations: 7.009 MB / 0.8535 GB, free: 43.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.014, allocations: 0 / 0.8535 GB, free: 43.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/1.016, allocations: 1.869 MB / 0.8553 GB, free: 41.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.019, allocations: 0.6353 MB / 0.8559 GB, free: 41.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09632/1.115, allocations: 68.33 MB / 0.9227 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/1.126, allocations: 5.423 MB / 0.928 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009293/1.135, allocations: 3.543 MB / 0.9314 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006181/1.141, allocations: 3.323 MB / 0.9347 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of SimCode: time 8.81e-07/1.141, allocations: 0 / 0.9347 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3973/1.539, allocations: 95.42 MB / 1.028 GB, free: 202 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.56/28.1, allocations: 6.719 kB / 1.028 GB, free: 202 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 31.692974450066686]