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.005558/0.005557, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.001199/0.001199, allocations: 192.2 kB / 16.79 MB, free: 6.242 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.327/1.327, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.3098/0.3098, allocations: 43.5 MB / 313.5 MB, free: 8.508 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.001548/0.001548, allocations: 67.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.21/0.3201, allocations: 41.38 MB / 481.3 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3358, allocations: 7.845 MB / 489.1 MB, free: 20.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007228/0.3431, allocations: 179.8 kB / 489.3 MB, free: 20.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.3472, allocations: 2.099 MB / 491.4 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.3526, allocations: 2.398 MB / 493.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3536, allocations: 277.6 kB / 494.1 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.3642, allocations: 9.019 MB / 0.4913 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005982/0.3702, allocations: 3.277 MB / 0.4945 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.3752, allocations: 1.884 MB / 0.4964 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005837/0.3811, allocations: 2.952 MB / 0.4992 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001988/0.3831, allocations: 280.8 kB / 0.4995 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.386, allocations: 0.7251 MB / 0.5002 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004936/0.3909, allocations: 2.706 MB / 0.5029 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00598/0.3969, allocations: 3.271 MB / 0.506 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4084, allocations: 10.04 MB / 0.5159 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4085, allocations: 0 / 0.5159 GB, free: 3.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4085, allocations: 0 / 0.5159 GB, free: 3.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000441/0.4089, allocations: 0 / 0.5159 GB, free: 3.164 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.01414/0.4231, allocations: 7.045 MB / 0.5227 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4231, allocations: 8.031 kB / 0.5227 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002992/0.4261, allocations: 1.276 MB / 0.524 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/0.4443, allocations: 5.859 MB / 0.5297 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.4514, allocations: 3.253 MB / 0.5329 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.4518, allocations: 324.2 kB / 0.5332 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.4536, allocations: 419.6 kB / 0.5336 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.4808, allocations: 18.89 MB / 0.552 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-05/0.4809, allocations: 35.69 kB / 0.5521 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000675/0.4816, allocations: 203.6 kB / 0.5523 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006643/0.4882, allocations: 4.746 MB / 0.5569 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03059/0.5189, allocations: 17.53 MB / 0.574 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2703/0.7892, allocations: 61.24 MB / 0.6338 GB, free: 102.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.8021, allocations: 8.432 MB / 0.6421 GB, free: 100.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.8054, allocations: 2.579 MB / 0.6446 GB, free: 100.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01773/0.8231, allocations: 11.86 MB / 0.6562 GB, free: 96.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.8232, allocations: 60.91 kB / 0.6562 GB, free: 96.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 6.362e-06/0.8232, allocations: 1.656 kB / 0.6562 GB, free: 96.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01737/0.8406, allocations: 7.512 MB / 0.6636 GB, free: 94.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.8407, allocations: 108 kB / 0.6637 GB, free: 94.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00818/0.8489, allocations: 5.672 MB / 0.6692 GB, free: 92.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004046/0.8493, allocations: 66.11 kB / 0.6693 GB, free: 92.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.8519, allocations: 5.074 MB / 0.6742 GB, free: 88.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.8535, allocations: 1.203 MB / 0.6754 GB, free: 87.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002425/0.8559, allocations: 1.899 MB / 0.6773 GB, free: 86.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.8559, allocations: 303.4 kB / 0.6775 GB, free: 86.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/0.8604, allocations: 3.21 MB / 0.6807 GB, free: 85.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/0.8669, allocations: 8.656 MB / 0.6891 GB, free: 77.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.8773, allocations: 12.92 MB / 0.7018 GB, free: 67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.8775, allocations: 53.72 kB / 0.7018 GB, free: 67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0157/0.8932, allocations: 11.64 MB / 0.7132 GB, free: 62.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.8933, allocations: 85.66 kB / 0.7133 GB, free: 62.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002196/0.8936, allocations: 189.1 kB / 0.7134 GB, free: 62.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.8938, allocations: 257.5 kB / 0.7137 GB, free: 62.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/0.8991, allocations: 2.078 MB / 0.7157 GB, free: 61.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002301/0.8994, allocations: 374.4 kB / 0.7161 GB, free: 61.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005641/0.905, allocations: 1.322 MB / 0.7174 GB, free: 59.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009861/0.906, allocations: 0.5529 MB / 0.7179 GB, free: 59.34 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.005344/0.9114, allocations: 3.705 MB / 0.7215 GB, free: 56.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/0.9121, allocations: 481.5 kB / 0.722 GB, free: 55.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.9132, allocations: 0.6421 MB / 0.7226 GB, free: 55.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-05/0.9133, allocations: 67.61 kB / 0.7227 GB, free: 55.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/0.9133, allocations: 0 / 0.7227 GB, free: 55.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.9133, allocations: 11.3 kB / 0.7227 GB, free: 55.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.9322, allocations: 12.63 MB / 0.735 GB, free: 44.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.9323, allocations: 17.58 kB / 0.735 GB, free: 44.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.9338, allocations: 428.8 kB / 0.7354 GB, free: 43.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/0.9338, allocations: 20 kB / 0.7355 GB, free: 43.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.934, allocations: 63.06 kB / 0.7355 GB, free: 43.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.906e-05/0.934, allocations: 35.58 kB / 0.7355 GB, free: 43.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.934, allocations: 19.94 kB / 0.7356 GB, free: 43.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/0.9384, allocations: 4.631 MB / 0.7401 GB, free: 39.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9395, allocations: 0.5588 MB / 0.7406 GB, free: 38.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/0.9404, allocations: 62.5 kB / 0.7407 GB, free: 38.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.9421, allocations: 130.5 kB / 0.7408 GB, free: 38.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.9424, allocations: 174.3 kB / 0.741 GB, free: 38.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.9426, allocations: 98.89 kB / 0.7411 GB, free: 38.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004935/0.9476, allocations: 3.498 MB / 0.7445 GB, free: 34.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9476, allocations: 0 / 0.7445 GB, free: 34.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007899/0.9555, allocations: 1.981 MB / 0.7464 GB, free: 32.92 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.005492/0.961, allocations: 5.333 MB / 0.7516 GB, free: 27.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008124/0.9691, allocations: 7.271 MB / 0.7587 GB, free: 20.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.9692, allocations: 4 kB / 0.7587 GB, free: 20.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.971, allocations: 2.007 MB / 0.7607 GB, free: 18.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.974, allocations: 0.5879 MB / 0.7613 GB, free: 17.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2803/1.254, allocations: 81.42 MB / 0.8408 GB, free: 188.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006937/1.261, allocations: 5.422 MB / 0.8461 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008461/1.27, allocations: 3.543 MB / 0.8495 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005174/1.275, allocations: 3.332 MB / 0.8528 GB, free: 184.6 MB / 0.545 GB Notification: Performance of SimCode: time 3.176e-06/1.275, allocations: 0 / 0.8528 GB, free: 184.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/1.394, allocations: 95.37 MB / 0.9459 GB, free: 117.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/1.394, allocations: 189.5 kB / 0.9461 GB, free: 117 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.115/5.509, allocations: 0 / 0.9461 GB, free: 117 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