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.001434/0.001434, allocations: 109.6 kB / 17.32 MB, free: 6.031 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.001532/0.001532, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.402/1.402, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2046/0.2046, allocations: 44.18 MB / 336.3 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.41 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03809/0.1535, allocations: 41.32 MB / 0.4982 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2445/0.3981, allocations: 7.839 MB / 0.5058 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/0.4096, allocations: 177.6 kB / 0.506 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005281/0.4149, allocations: 2.052 MB / 0.508 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007013/0.422, allocations: 2.367 MB / 0.5103 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.423, allocations: 283.6 kB / 0.5106 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009791/0.4328, allocations: 6.779 MB / 0.5172 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006697/0.4395, allocations: 3.488 MB / 0.5206 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.4441, allocations: 2.172 MB / 0.5227 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004681/0.4488, allocations: 3.091 MB / 0.5258 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.4505, allocations: 392.3 kB / 0.5261 GB, free: 7.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.4533, allocations: 0.813 MB / 0.5269 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003581/0.4569, allocations: 2.821 MB / 0.5297 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005355/0.4623, allocations: 3.379 MB / 0.533 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.4738, allocations: 10.21 MB / 0.543 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4738, allocations: 0 / 0.543 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4738, allocations: 3 kB / 0.543 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000439/0.4742, allocations: 0 / 0.543 GB, free: 11.79 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.01633/0.4906, allocations: 7.041 MB / 0.5498 GB, free: 4.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4907, allocations: 12.03 kB / 0.5498 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003547/0.4942, allocations: 1.275 MB / 0.5511 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.5137, allocations: 5.854 MB / 0.5568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/0.5211, allocations: 3.251 MB / 0.56 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/0.5216, allocations: 330 kB / 0.5603 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.524, allocations: 423.1 kB / 0.5607 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03453/0.5585, allocations: 18.88 MB / 0.5791 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.5587, allocations: 39.69 kB / 0.5792 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/0.5604, allocations: 201.7 kB / 0.5794 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008074/0.5685, allocations: 4.75 MB / 0.584 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03661/0.6051, allocations: 17.54 MB / 0.6011 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08797/0.6931, allocations: 61.25 MB / 0.6609 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.7081, allocations: 8.429 MB / 0.6692 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/0.7118, allocations: 2.585 MB / 0.6717 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02023/0.7321, allocations: 11.88 MB / 0.6833 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.7322, allocations: 56.5 kB / 0.6834 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.324e-06/0.7322, allocations: 0 / 0.6834 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01839/0.7506, allocations: 7.521 MB / 0.6907 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.7507, allocations: 103 kB / 0.6908 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008961/0.7597, allocations: 5.668 MB / 0.6963 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000519/0.7602, allocations: 68.83 kB / 0.6964 GB, free: 12.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003763/0.764, allocations: 5.065 MB / 0.7013 GB, free: 7.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/0.7657, allocations: 1.202 MB / 0.7025 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002763/0.7685, allocations: 1.905 MB / 0.7044 GB, free: 4.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.7686, allocations: 313 kB / 0.7047 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/0.7732, allocations: 3.208 MB / 0.7078 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2434/1.017, allocations: 8.652 MB / 0.7163 GB, free: 190.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/1.03, allocations: 12.9 MB / 0.7289 GB, free: 180 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002888/1.031, allocations: 54.84 kB / 0.7289 GB, free: 180 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0212/1.052, allocations: 11.64 MB / 0.7403 GB, free: 176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.052, allocations: 85.41 kB / 0.7404 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002545/1.052, allocations: 192.2 kB / 0.7405 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.053, allocations: 256.7 kB / 0.7408 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/1.059, allocations: 2.073 MB / 0.7428 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002438/1.059, allocations: 386.1 kB / 0.7432 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007037/1.066, allocations: 1.33 MB / 0.7445 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.068, allocations: 0.5496 MB / 0.745 GB, free: 175.1 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.006437/1.074, allocations: 3.699 MB / 0.7486 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007083/1.075, allocations: 493.5 kB / 0.7491 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.076, allocations: 0.6435 MB / 0.7497 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.976e-05/1.076, allocations: 56.66 kB / 0.7498 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/1.076, allocations: 7 kB / 0.7498 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.076, allocations: 15.14 kB / 0.7498 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/1.093, allocations: 12.63 MB / 0.7621 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.093, allocations: 22.69 kB / 0.7622 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.095, allocations: 415.7 kB / 0.7625 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.095, allocations: 24 kB / 0.7626 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.095, allocations: 67.47 kB / 0.7626 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/1.095, allocations: 31.62 kB / 0.7627 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.095, allocations: 19.94 kB / 0.7627 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/1.099, allocations: 4.638 MB / 0.7672 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.1, allocations: 0.559 MB / 0.7678 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/1.101, allocations: 59.94 kB / 0.7678 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.102, allocations: 130.6 kB / 0.7679 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.103, allocations: 178.3 kB / 0.7681 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.103, allocations: 99.19 kB / 0.7682 GB, free: 159.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004512/1.107, allocations: 3.491 MB / 0.7716 GB, free: 156.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.108, allocations: 0 / 0.7716 GB, free: 156.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007959/1.115, allocations: 1.979 MB / 0.7735 GB, free: 154.5 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.005295/1.121, allocations: 5.327 MB / 0.7787 GB, free: 149.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.137, allocations: 12.63 MB / 0.7911 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.137, allocations: 0 / 0.7911 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.139, allocations: 2.002 MB / 0.793 GB, free: 135.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.142, allocations: 0.6286 MB / 0.7937 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09242/1.235, allocations: 81.42 MB / 0.8732 GB, free: 41.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005856/1.241, allocations: 5.42 MB / 0.8785 GB, free: 36.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007263/1.248, allocations: 3.551 MB / 0.8819 GB, free: 32.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003747/1.252, allocations: 3.323 MB / 0.8852 GB, free: 29.58 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/1.252, allocations: 0 / 0.8852 GB, free: 29.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3517/1.604, allocations: 96.91 MB / 0.9798 GB, free: 144.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.604, allocations: 194.3 kB / 0.98 GB, free: 144 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.663/6.267, allocations: 2.438 kB / 0.98 GB, free: 144 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