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.00121/0.00121, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001288/0.001288, allocations: 194 kB / 18.12 MB, free: 5.363 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.227/1.227, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.1857/0.1857, allocations: 44.16 MB / 336.1 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 68.27 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09843, allocations: 60.81 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03407/0.1325, allocations: 41.33 MB / 0.498 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2189/0.3515, allocations: 7.878 MB / 0.5057 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009051/0.3606, allocations: 180.6 kB / 0.5059 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005125/0.3657, allocations: 2.107 MB / 0.5079 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.3738, allocations: 2.401 MB / 0.5103 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3751, allocations: 281.9 kB / 0.5105 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01162/0.3868, allocations: 9.28 MB / 0.5196 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005374/0.3922, allocations: 3.274 MB / 0.5228 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.3955, allocations: 1.891 MB / 0.5246 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.3992, allocations: 2.949 MB / 0.5275 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.4004, allocations: 280.1 kB / 0.5278 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.4025, allocations: 0.7363 MB / 0.5285 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.4044, allocations: 2.711 MB / 0.5311 GB, free: 5.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.4073, allocations: 3.27 MB / 0.5343 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.4162, allocations: 10.05 MB / 0.5442 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4162, allocations: 0 / 0.5442 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4162, allocations: 4 kB / 0.5442 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005/0.4168, allocations: 0 / 0.5442 GB, free: 10.41 MB / 398.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.01303/0.4298, allocations: 7.044 MB / 0.551 GB, free: 3.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4298, allocations: 8.031 kB / 0.551 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001527/0.4314, allocations: 1.278 MB / 0.5523 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.4483, allocations: 5.856 MB / 0.558 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/0.454, allocations: 3.248 MB / 0.5612 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.4542, allocations: 331 kB / 0.5615 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008233/0.455, allocations: 418 kB / 0.5619 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.4801, allocations: 18.89 MB / 0.5803 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.083e-05/0.4802, allocations: 31.69 kB / 0.5804 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005643/0.4808, allocations: 208.8 kB / 0.5806 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006224/0.487, allocations: 4.749 MB / 0.5852 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/0.5166, allocations: 17.53 MB / 0.6023 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08548/0.6021, allocations: 61.24 MB / 0.6621 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.6161, allocations: 8.443 MB / 0.6704 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.6197, allocations: 2.579 MB / 0.6729 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01829/0.638, allocations: 11.87 MB / 0.6845 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.638, allocations: 64.48 kB / 0.6845 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 5.21e-06/0.6381, allocations: 0.5625 kB / 0.6845 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01579/0.6538, allocations: 7.507 MB / 0.6919 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.6539, allocations: 99.11 kB / 0.692 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007711/0.6616, allocations: 5.68 MB / 0.6975 GB, free: 11.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.6618, allocations: 64.75 kB / 0.6976 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.6646, allocations: 5.064 MB / 0.7025 GB, free: 6.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000863/0.6655, allocations: 1.206 MB / 0.7037 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/0.6675, allocations: 1.904 MB / 0.7056 GB, free: 2.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.6676, allocations: 309.1 kB / 0.7059 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1551/0.8227, allocations: 3.206 MB / 0.709 GB, free: 196.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006449/0.8292, allocations: 8.652 MB / 0.7174 GB, free: 189.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.8396, allocations: 12.9 MB / 0.73 GB, free: 178.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.8398, allocations: 54.88 kB / 0.7301 GB, free: 178.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01298/0.8527, allocations: 11.65 MB / 0.7415 GB, free: 174.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/0.8528, allocations: 91.38 kB / 0.7416 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.853, allocations: 188.8 kB / 0.7417 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.8531, allocations: 253.5 kB / 0.742 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/0.8576, allocations: 2.074 MB / 0.744 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/0.8578, allocations: 378.7 kB / 0.7444 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.862, allocations: 1.331 MB / 0.7457 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/0.8625, allocations: 0.5511 MB / 0.7462 GB, free: 174 MB / 0.545 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.003459/0.866, allocations: 3.709 MB / 0.7498 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/0.8664, allocations: 485.6 kB / 0.7503 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.8672, allocations: 0.6478 MB / 0.7509 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/0.8672, allocations: 53.31 kB / 0.751 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.8673, allocations: 3.969 kB / 0.751 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8673, allocations: 14.91 kB / 0.751 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.8798, allocations: 12.63 MB / 0.7633 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.8798, allocations: 16.94 kB / 0.7633 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.8811, allocations: 416.1 kB / 0.7637 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.8812, allocations: 24 kB / 0.7638 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.8813, allocations: 75.22 kB / 0.7638 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/0.8813, allocations: 27.78 kB / 0.7639 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.8813, allocations: 19.94 kB / 0.7639 GB, free: 163.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.885, allocations: 4.636 MB / 0.7684 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.8855, allocations: 0.5595 MB / 0.7689 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/0.8859, allocations: 55.75 kB / 0.769 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.8872, allocations: 125.4 kB / 0.7691 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.8874, allocations: 180.6 kB / 0.7693 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.8876, allocations: 103.8 kB / 0.7694 GB, free: 158.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003078/0.8907, allocations: 3.493 MB / 0.7728 GB, free: 155.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8907, allocations: 0 / 0.7728 GB, free: 155.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004765/0.8954, allocations: 1.976 MB / 0.7747 GB, free: 153.3 MB / 0.545 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.003963/0.8994, allocations: 5.325 MB / 0.7799 GB, free: 148.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006711/0.9061, allocations: 7.282 MB / 0.787 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9061, allocations: 4 kB / 0.787 GB, free: 141.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.9078, allocations: 2.009 MB / 0.789 GB, free: 139.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.9099, allocations: 0.6014 MB / 0.7896 GB, free: 138.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06507/0.975, allocations: 81.42 MB / 0.8691 GB, free: 45.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/0.9792, allocations: 5.423 MB / 0.8744 GB, free: 40.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006295/0.9855, allocations: 3.545 MB / 0.8779 GB, free: 36.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/0.9883, allocations: 3.327 MB / 0.8811 GB, free: 33.48 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.9883, allocations: 0 / 0.8811 GB, free: 33.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.629/3.617, allocations: 95.38 MB / 0.9743 GB, free: 149.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/3.617, allocations: 193.9 kB / 0.9744 GB, free: 149.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.566/8.184, allocations: 0 / 0.9744 GB, free: 149.5 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