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.001748/0.001748, allocations: 109 kB / 20.48 MB, free: 1.477 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.002186/0.002186, allocations: 217.7 kB / 23.79 MB, free: 4.684 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.554/1.554, allocations: 207.6 MB / 234.6 MB, free: 10 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.2178/0.2178, allocations: 44.25 MB / 331.1 MB, free: 9.523 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.002224/0.002224, allocations: 69 kB / 468.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 61.04 MB / 0.517 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01941/0.1455, allocations: 17.14 MB / 0.5337 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.1558, allocations: 3.922 MB / 0.5375 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.159, allocations: 115.6 kB / 0.5377 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2369/0.3959, allocations: 2.213 MB / 0.5398 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.402, allocations: 2.612 MB / 0.5424 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.403, allocations: 305.8 kB / 0.5427 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009231/0.4122, allocations: 6.365 MB / 0.5489 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/0.4178, allocations: 3.076 MB / 0.5519 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004662/0.4225, allocations: 2.17 MB / 0.554 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005597/0.4281, allocations: 3.113 MB / 0.557 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.4296, allocations: 391.4 kB / 0.5574 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.4323, allocations: 0.8149 MB / 0.5582 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003974/0.4363, allocations: 2.863 MB / 0.561 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004509/0.4408, allocations: 3.351 MB / 0.5643 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.4529, allocations: 10.75 MB / 0.5748 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.4529, allocations: 3.984 kB / 0.5748 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4529, allocations: 3.938 kB / 0.5748 GB, free: 13.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004073/0.4533, allocations: 1.625 kB / 0.5748 GB, free: 13.86 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.01966/0.473, allocations: 7.17 MB / 0.5818 GB, free: 8.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.473, allocations: 8.594 kB / 0.5818 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002841/0.4733, allocations: 168.7 kB / 0.582 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003969/0.4773, allocations: 1.28 MB / 0.5832 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02117/0.4984, allocations: 5.906 MB / 0.589 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008468/0.5069, allocations: 3.225 MB / 0.5921 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.5072, allocations: 329.1 kB / 0.5924 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/0.5095, allocations: 426 kB / 0.5928 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04098/0.5505, allocations: 18.88 MB / 0.6113 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.5506, allocations: 39.62 kB / 0.6113 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/0.5529, allocations: 206.2 kB / 0.6115 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008807/0.5617, allocations: 4.742 MB / 0.6161 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04152/0.6032, allocations: 17.53 MB / 0.6333 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/0.7251, allocations: 61.06 MB / 0.6929 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.7422, allocations: 6.335 MB / 0.6991 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/0.7468, allocations: 2.399 MB / 0.7014 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/0.7736, allocations: 9.901 MB / 0.7111 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.292e-05/0.7737, allocations: 56.56 kB / 0.7112 GB, free: 7.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=321): time 1.234e-05/0.7737, allocations: 0 / 0.7112 GB, free: 7.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=321): time 0.02281/0.7965, allocations: 7.535 MB / 0.7185 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/0.7966, allocations: 103.1 kB / 0.7186 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/0.8109, allocations: 5.697 MB / 0.7242 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006418/0.8115, allocations: 65.06 kB / 0.7242 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005783/0.8173, allocations: 5.285 MB / 0.7294 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002538/0.8199, allocations: 1.254 MB / 0.7306 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006883/0.8267, allocations: 1.915 MB / 0.7325 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.8269, allocations: 309.1 kB / 0.7328 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006871/0.8338, allocations: 3.208 MB / 0.7359 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01276/0.8465, allocations: 8.643 MB / 0.7444 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/0.8645, allocations: 12.92 MB / 0.757 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002045/0.8647, allocations: 52 kB / 0.757 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02608/0.8908, allocations: 11.67 MB / 0.7684 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.8911, allocations: 87.66 kB / 0.7685 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003951/0.8915, allocations: 200.1 kB / 0.7687 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.8919, allocations: 252.1 kB / 0.7689 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007725/0.8996, allocations: 2.07 MB / 0.771 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004995/0.9001, allocations: 378.5 kB / 0.7713 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008618/0.9087, allocations: 1.367 MB / 0.7727 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/0.9111, allocations: 0.5541 MB / 0.7732 GB, free: 2.176 MB / 0.6075 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.2499/1.161, allocations: 3.701 MB / 0.7768 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008931/1.162, allocations: 0.4995 MB / 0.7773 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.163, allocations: 0.6453 MB / 0.7779 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.662e-05/1.164, allocations: 61.39 kB / 0.778 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/1.164, allocations: 1.219 kB / 0.778 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/1.164, allocations: 14.2 kB / 0.778 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/1.191, allocations: 12.61 MB / 0.7903 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/1.191, allocations: 15.84 kB / 0.7903 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.193, allocations: 419.9 kB / 0.7907 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-05/1.193, allocations: 22.06 kB / 0.7908 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/1.193, allocations: 64.09 kB / 0.7908 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-05/1.193, allocations: 36.61 kB / 0.7909 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.581e-05/1.193, allocations: 20.66 kB / 0.7909 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/1.199, allocations: 4.667 MB / 0.7954 GB, free: 197.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.201, allocations: 0.5121 MB / 0.7959 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/1.201, allocations: 56.22 kB / 0.796 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.203, allocations: 131.8 kB / 0.7961 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/1.204, allocations: 187.8 kB / 0.7963 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.204, allocations: 98.88 kB / 0.7964 GB, free: 197 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006887/1.211, allocations: 3.492 MB / 0.7998 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/1.211, allocations: 1.531 kB / 0.7998 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009391/1.22, allocations: 2.007 MB / 0.8018 GB, free: 195.3 MB / 0.6075 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.006644/1.227, allocations: 5.339 MB / 0.807 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009892/1.237, allocations: 7.003 MB / 0.8138 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.56e-05/1.237, allocations: 4.188 kB / 0.8138 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/1.239, allocations: 1.872 MB / 0.8156 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/1.243, allocations: 0.6331 MB / 0.8163 GB, free: 189.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1125/1.355, allocations: 68.36 MB / 0.883 GB, free: 119.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01509/1.37, allocations: 5.422 MB / 0.8883 GB, free: 113.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009734/1.38, allocations: 3.544 MB / 0.8918 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007286/1.387, allocations: 3.327 MB / 0.895 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.613e-06/1.387, allocations: 0 / 0.895 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.522, allocations: 95.54 MB / 0.9883 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.5/29.03, allocations: 12.06 kB / 0.9883 GB, free: 11.22 MB / 0.6075 GB " [Timeout remaining time 631] (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: 33.47363483696245]