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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001185, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.27 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01635/0.1286, allocations: 16.99 MB / 486.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008765/0.1374, allocations: 3.929 MB / 490.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.141, allocations: 99.81 kB / 490.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.1456, allocations: 2.172 MB / 492.5 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.1518, allocations: 2.518 MB / 495.1 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1528, allocations: 307.4 kB / 495.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00856/0.1614, allocations: 6.519 MB / 0.4901 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004873/0.1663, allocations: 3.334 MB / 0.4934 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.1703, allocations: 2.145 MB / 0.4955 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004172/0.1745, allocations: 2.787 MB / 0.4982 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.176, allocations: 395.9 kB / 0.4986 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.1785, allocations: 0.7998 MB / 0.4994 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003379/0.1819, allocations: 2.781 MB / 0.5021 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2538/0.4357, allocations: 3.346 MB / 0.5053 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.4502, allocations: 10.16 MB / 0.5153 GB, free: 16.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.4503, allocations: 0 / 0.5153 GB, free: 16.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4503, allocations: 0.5625 kB / 0.5153 GB, free: 16.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006095/0.4509, allocations: 1.219 kB / 0.5153 GB, free: 16.29 MB / 382.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.02586/0.4768, allocations: 7.035 MB / 0.5221 GB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.4768, allocations: 10.53 kB / 0.5221 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00538/0.4822, allocations: 1.276 MB / 0.5234 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/0.5029, allocations: 5.86 MB / 0.5291 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008398/0.5113, allocations: 3.252 MB / 0.5323 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.5116, allocations: 325.1 kB / 0.5326 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.5137, allocations: 418.6 kB / 0.533 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/0.5466, allocations: 18.89 MB / 0.5514 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.5468, allocations: 31.97 kB / 0.5515 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/0.5481, allocations: 205.1 kB / 0.5517 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008199/0.5563, allocations: 4.758 MB / 0.5563 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03822/0.5945, allocations: 17.52 MB / 0.5734 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/0.696, allocations: 61.25 MB / 0.6332 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/0.7113, allocations: 8.431 MB / 0.6415 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003833/0.7152, allocations: 2.584 MB / 0.644 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/0.7366, allocations: 11.87 MB / 0.6556 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.7367, allocations: 60.56 kB / 0.6556 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 1.146e-05/0.7367, allocations: 4 kB / 0.6556 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01876/0.7555, allocations: 7.51 MB / 0.663 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.7556, allocations: 106.8 kB / 0.6631 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/0.7688, allocations: 5.668 MB / 0.6686 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007043/0.7695, allocations: 64.83 kB / 0.6687 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004812/0.7744, allocations: 5.078 MB / 0.6736 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.7764, allocations: 1.201 MB / 0.6748 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005325/0.7817, allocations: 1.902 MB / 0.6767 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.7819, allocations: 309 kB / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005375/0.7872, allocations: 3.208 MB / 0.6801 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009775/0.797, allocations: 8.648 MB / 0.6885 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2475/1.045, allocations: 12.91 MB / 0.7011 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001906/1.045, allocations: 54.69 kB / 0.7012 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02357/1.068, allocations: 11.65 MB / 0.7126 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.069, allocations: 86.34 kB / 0.7127 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002621/1.069, allocations: 192.5 kB / 0.7128 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/1.069, allocations: 250.8 kB / 0.7131 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/1.076, allocations: 2.076 MB / 0.7151 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002768/1.076, allocations: 376.3 kB / 0.7155 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007626/1.084, allocations: 1.329 MB / 0.7168 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/1.086, allocations: 0.5527 MB / 0.7173 GB, free: 174 MB / 0.5294 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.007835/1.094, allocations: 3.698 MB / 0.7209 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.095, allocations: 487.3 kB / 0.7214 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/1.097, allocations: 0.6475 MB / 0.722 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/1.097, allocations: 58.31 kB / 0.7221 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/1.097, allocations: 1.422 kB / 0.7221 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/1.097, allocations: 15.28 kB / 0.7221 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.119, allocations: 12.63 MB / 0.7344 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.119, allocations: 16 kB / 0.7344 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.121, allocations: 420.1 kB / 0.7348 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.353e-05/1.121, allocations: 24 kB / 0.7349 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.121, allocations: 74.38 kB / 0.7349 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/1.121, allocations: 29.66 kB / 0.735 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.121, allocations: 23.88 kB / 0.735 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/1.126, allocations: 4.634 MB / 0.7395 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.127, allocations: 0.5595 MB / 0.74 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/1.128, allocations: 62.28 kB / 0.7401 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.13, allocations: 122.3 kB / 0.7402 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/1.13, allocations: 182.4 kB / 0.7404 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.13, allocations: 102 kB / 0.7405 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006443/1.137, allocations: 3.492 MB / 0.7439 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.232e-06/1.137, allocations: 0 / 0.7439 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008801/1.146, allocations: 1.981 MB / 0.7458 GB, free: 155.4 MB / 0.5294 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.00559/1.151, allocations: 5.319 MB / 0.751 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01735/1.169, allocations: 12.64 MB / 0.7634 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.169, allocations: 4.062 kB / 0.7634 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/1.171, allocations: 2.001 MB / 0.7653 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.175, allocations: 0.6265 MB / 0.766 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07969/1.254, allocations: 77.97 MB / 0.8421 GB, free: 46.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007536/1.262, allocations: 5.421 MB / 0.8474 GB, free: 40.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007463/1.27, allocations: 3.543 MB / 0.8509 GB, free: 37.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004578/1.274, allocations: 3.323 MB / 0.8541 GB, free: 34.04 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/1.274, allocations: 4 kB / 0.8541 GB, free: 34.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3546/1.629, allocations: 97.05 MB / 0.9489 GB, free: 169.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.9, allocations: 1.031 kB / 0.9489 GB, free: 169.2 MB / 0.545 GB (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 --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) 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) Reference file matches