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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_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.001153/0.001153, allocations: 103.8 kB / 15.98 MB, free: 6.336 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.001097/0.001097, allocations: 195.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3535/0.3535, allocations: 43.49 MB / 313.6 MB, free: 8.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 74.56 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.241/0.3659, allocations: 41.37 MB / 481.5 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.3836, allocations: 7.799 MB / 489.3 MB, free: 20.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009088/0.3927, allocations: 175.5 kB / 489.4 MB, free: 20.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.3966, allocations: 2.054 MB / 491.5 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.4019, allocations: 2.367 MB / 493.9 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.4026, allocations: 279.9 kB / 494.1 MB, free: 18.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008198/0.4108, allocations: 6.526 MB / 0.4889 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005441/0.4163, allocations: 3.487 MB / 0.4923 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.4212, allocations: 2.168 MB / 0.4945 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005871/0.4271, allocations: 3.09 MB / 0.4975 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.4286, allocations: 399.1 kB / 0.4979 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.4311, allocations: 0.7915 MB / 0.4986 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003486/0.4346, allocations: 2.82 MB / 0.5014 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005255/0.4399, allocations: 3.383 MB / 0.5047 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.453, allocations: 10.21 MB / 0.5147 GB, free: 3.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4531, allocations: 3.938 kB / 0.5147 GB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4531, allocations: 0 / 0.5147 GB, free: 3.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000461/0.4536, allocations: 0 / 0.5147 GB, free: 3.449 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.01549/0.4691, allocations: 7.035 MB / 0.5215 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4691, allocations: 15.89 kB / 0.5215 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002733/0.4719, allocations: 1.272 MB / 0.5228 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/0.4903, allocations: 5.859 MB / 0.5285 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00775/0.4981, allocations: 3.249 MB / 0.5317 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.4984, allocations: 324.3 kB / 0.532 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.5001, allocations: 419.5 kB / 0.5324 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/0.5329, allocations: 18.89 MB / 0.5508 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.291e-05/0.5331, allocations: 31.69 kB / 0.5509 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007583/0.5338, allocations: 203.7 kB / 0.5511 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006845/0.5407, allocations: 4.754 MB / 0.5557 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03296/0.5737, allocations: 17.53 MB / 0.5728 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/0.9026, allocations: 61.24 MB / 0.6326 GB, free: 104.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.9159, allocations: 8.429 MB / 0.6409 GB, free: 101.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.919, allocations: 2.575 MB / 0.6434 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01828/0.9373, allocations: 11.89 MB / 0.655 GB, free: 97.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.9373, allocations: 54.19 kB / 0.655 GB, free: 97.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 7.554e-06/0.9374, allocations: 0 / 0.655 GB, free: 97.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01777/0.9551, allocations: 7.518 MB / 0.6624 GB, free: 95.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.9552, allocations: 104.9 kB / 0.6625 GB, free: 95.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/0.966, allocations: 5.675 MB / 0.668 GB, free: 93.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005674/0.9666, allocations: 68.19 kB / 0.6681 GB, free: 93.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004396/0.971, allocations: 5.071 MB / 0.673 GB, free: 89.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001798/0.9729, allocations: 1.196 MB / 0.6742 GB, free: 88.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/0.9754, allocations: 1.905 MB / 0.6761 GB, free: 87.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.9755, allocations: 305.9 kB / 0.6764 GB, free: 87.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00434/0.9798, allocations: 3.207 MB / 0.6795 GB, free: 86.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/0.9858, allocations: 8.661 MB / 0.6879 GB, free: 78.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.9966, allocations: 12.9 MB / 0.7005 GB, free: 68.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/0.9968, allocations: 53.25 kB / 0.7006 GB, free: 68.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01745/1.014, allocations: 11.64 MB / 0.712 GB, free: 64.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/1.014, allocations: 86.47 kB / 0.712 GB, free: 64.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003232/1.015, allocations: 187.6 kB / 0.7122 GB, free: 64.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/1.015, allocations: 267.3 kB / 0.7125 GB, free: 63.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006032/1.021, allocations: 2.071 MB / 0.7145 GB, free: 61.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000296/1.021, allocations: 379.3 kB / 0.7149 GB, free: 61.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.028, allocations: 1.321 MB / 0.7162 GB, free: 60.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.029, allocations: 0.5537 MB / 0.7167 GB, free: 59.78 MB / 494.1 MB 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.006055/1.035, allocations: 3.706 MB / 0.7203 GB, free: 56.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007874/1.036, allocations: 485.4 kB / 0.7208 GB, free: 56.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/1.037, allocations: 0.6439 MB / 0.7214 GB, free: 55.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/1.037, allocations: 63.16 kB / 0.7215 GB, free: 55.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.373e-05/1.037, allocations: 0 / 0.7215 GB, free: 55.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/1.037, allocations: 7.641 kB / 0.7215 GB, free: 55.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02347/1.061, allocations: 12.64 MB / 0.7338 GB, free: 44.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.061, allocations: 13.03 kB / 0.7338 GB, free: 44.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.062, allocations: 426.2 kB / 0.7342 GB, free: 44.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/1.062, allocations: 24 kB / 0.7343 GB, free: 44.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.063, allocations: 63.84 kB / 0.7343 GB, free: 44.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/1.063, allocations: 31.88 kB / 0.7344 GB, free: 44.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.063, allocations: 23.88 kB / 0.7344 GB, free: 44.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/1.067, allocations: 4.632 MB / 0.7389 GB, free: 39.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.068, allocations: 0.5566 MB / 0.7394 GB, free: 39.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/1.069, allocations: 55.92 kB / 0.7395 GB, free: 38.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.07, allocations: 127.1 kB / 0.7396 GB, free: 38.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/1.07, allocations: 180.8 kB / 0.7398 GB, free: 38.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.07, allocations: 106 kB / 0.7399 GB, free: 38.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004325/1.075, allocations: 3.494 MB / 0.7433 GB, free: 35.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.075, allocations: 0 / 0.7433 GB, free: 35.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006766/1.082, allocations: 1.981 MB / 0.7452 GB, free: 33.13 MB / 494.1 MB 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.004714/1.086, allocations: 5.323 MB / 0.7504 GB, free: 27.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01658/1.103, allocations: 12.64 MB / 0.7628 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.103, allocations: 4 kB / 0.7628 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.105, allocations: 2.007 MB / 0.7647 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.108, allocations: 0.6257 MB / 0.7653 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3364/1.445, allocations: 81.44 MB / 0.8449 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/1.456, allocations: 5.416 MB / 0.8502 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009146/1.465, allocations: 3.546 MB / 0.8536 GB, free: 186.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005755/1.471, allocations: 3.325 MB / 0.8569 GB, free: 183.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.471, allocations: 0 / 0.8569 GB, free: 183.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1503/1.621, allocations: 96.88 MB / 0.9515 GB, free: 110.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.621, allocations: 201.8 kB / 0.9517 GB, free: 110.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.846/6.467, allocations: 3.938 kB / 0.9517 GB, free: 110.5 MB / 0.545 GB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches