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.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001531/0.001531, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2097/0.2097, allocations: 44.94 MB / 358.8 MB, free: 6.047 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.002204/0.002204, allocations: 69.78 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3077, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01796/0.3257, allocations: 14.62 MB / 0.5712 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.3346, allocations: 3.801 MB / 0.5749 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.3367, allocations: 115.6 kB / 0.5751 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004658/0.3414, allocations: 2.175 MB / 0.5772 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006579/0.348, allocations: 2.604 MB / 0.5797 GB, free: 124 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.3491, allocations: 299.5 kB / 0.58 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009486/0.3586, allocations: 6.549 MB / 0.5864 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004961/0.3635, allocations: 3.074 MB / 0.5894 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.3677, allocations: 2.149 MB / 0.5915 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005241/0.3729, allocations: 2.981 MB / 0.5944 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.3742, allocations: 392 kB / 0.5948 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.3765, allocations: 0.7256 MB / 0.5955 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003313/0.3798, allocations: 2.815 MB / 0.5982 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004645/0.3844, allocations: 2.307 MB / 0.6005 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.3982, allocations: 10.71 MB / 0.611 GB, free: 15.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3982, allocations: 0 / 0.611 GB, free: 15.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3982, allocations: 0 / 0.611 GB, free: 15.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000357/0.3986, allocations: 0 / 0.611 GB, free: 15.98 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.01742/0.416, allocations: 7.108 MB / 0.6179 GB, free: 8.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.4161, allocations: 12.03 kB / 0.6179 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00312/0.4192, allocations: 1.272 MB / 0.6192 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.4402, allocations: 5.903 MB / 0.6249 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00919/0.4493, allocations: 3.256 MB / 0.6281 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.4497, allocations: 332 kB / 0.6284 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.4516, allocations: 419.6 kB / 0.6288 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/0.4854, allocations: 18.89 MB / 0.6473 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4855, allocations: 35.69 kB / 0.6473 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009097/0.4864, allocations: 195.7 kB / 0.6475 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008468/0.4949, allocations: 4.746 MB / 0.6521 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03628/0.5311, allocations: 17.5 MB / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/0.6381, allocations: 58.28 MB / 0.7261 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.6545, allocations: 6.331 MB / 0.7323 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2756/0.9301, allocations: 2.392 MB / 0.7346 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01942/0.9495, allocations: 9.424 MB / 0.7438 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.9495, allocations: 58.84 kB / 0.7439 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.333e-06/0.9495, allocations: 0 / 0.7439 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01505/0.9646, allocations: 7.535 MB / 0.7513 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.9646, allocations: 110 kB / 0.7514 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006731/0.9714, allocations: 6.018 MB / 0.7572 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/0.9718, allocations: 65.61 kB / 0.7573 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00235/0.9741, allocations: 5.278 MB / 0.7625 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.9755, allocations: 1.257 MB / 0.7637 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/0.9778, allocations: 1.913 MB / 0.7656 GB, free: 138 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.9779, allocations: 312.4 kB / 0.7659 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/0.9818, allocations: 3.21 MB / 0.769 GB, free: 135 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006249/0.988, allocations: 8.645 MB / 0.7774 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.9987, allocations: 12.91 MB / 0.79 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/0.9989, allocations: 60 kB / 0.7901 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01667/1.016, allocations: 11.67 MB / 0.8015 GB, free: 96.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/1.016, allocations: 88 kB / 0.8016 GB, free: 96.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003034/1.016, allocations: 192 kB / 0.8018 GB, free: 96.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/1.016, allocations: 252 kB / 0.802 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/1.023, allocations: 2.082 MB / 0.804 GB, free: 94.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003186/1.023, allocations: 371.2 kB / 0.8044 GB, free: 93.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/1.03, allocations: 1.364 MB / 0.8057 GB, free: 92.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.031, allocations: 0.5501 MB / 0.8063 GB, free: 91.95 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.005689/1.037, allocations: 3.708 MB / 0.8099 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007681/1.038, allocations: 0.4966 MB / 0.8104 GB, free: 87.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/1.039, allocations: 0.6449 MB / 0.811 GB, free: 87.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.248e-05/1.039, allocations: 59.92 kB / 0.811 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/1.039, allocations: 8.062 kB / 0.8111 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.039, allocations: 11.95 kB / 0.8111 GB, free: 87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/1.056, allocations: 12.25 MB / 0.823 GB, free: 74.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.056, allocations: 16.97 kB / 0.823 GB, free: 74.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.058, allocations: 419.3 kB / 0.8234 GB, free: 74.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/1.058, allocations: 28 kB / 0.8235 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/1.058, allocations: 67.52 kB / 0.8235 GB, free: 74.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/1.058, allocations: 27.88 kB / 0.8236 GB, free: 74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.058, allocations: 23.92 kB / 0.8236 GB, free: 73.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/1.062, allocations: 4.659 MB / 0.8281 GB, free: 69.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/1.063, allocations: 0.5076 MB / 0.8286 GB, free: 68.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00059/1.064, allocations: 59.92 kB / 0.8287 GB, free: 68.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.065, allocations: 131.4 kB / 0.8288 GB, free: 68.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/1.066, allocations: 184.7 kB / 0.829 GB, free: 68.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.066, allocations: 99.42 kB / 0.8291 GB, free: 68.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00425/1.07, allocations: 3.486 MB / 0.8325 GB, free: 64.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/1.07, allocations: 3.938 kB / 0.8325 GB, free: 64.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006563/1.077, allocations: 1.974 MB / 0.8344 GB, free: 62.67 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.004932/1.081, allocations: 5.338 MB / 0.8396 GB, free: 57.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008921/1.09, allocations: 7.012 MB / 0.8465 GB, free: 50.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.046e-05/1.09, allocations: 4 kB / 0.8465 GB, free: 50.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/1.092, allocations: 1.866 MB / 0.8483 GB, free: 48.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.095, allocations: 0.6223 MB / 0.8489 GB, free: 47.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09426/1.19, allocations: 68.32 MB / 0.9156 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009278/1.199, allocations: 4.94 MB / 0.9205 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008673/1.208, allocations: 3.547 MB / 0.9239 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005641/1.213, allocations: 3.323 MB / 0.9272 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of SimCode: time 1.183e-06/1.213, allocations: 0 / 0.9272 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/1.611, allocations: 90 MB / 1.015 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.19/21.8, allocations: 15.48 kB / 1.015 GB, free: 209.8 MB / 0.6544 GB " [Timeout remaining time 638] (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: 25.292932372074574]