Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 72.38 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09646, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01819/0.1147, allocations: 16.94 MB / 497.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008073/0.1228, allocations: 3.941 MB / 0.4893 GB, free: 204 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.1256, allocations: 99.81 kB / 0.4894 GB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.1304, allocations: 2.199 MB / 0.4915 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.1362, allocations: 2.494 MB / 0.4939 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1372, allocations: 299.5 kB / 0.4942 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007955/0.1452, allocations: 6.531 MB / 0.5006 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004935/0.1502, allocations: 3.33 MB / 0.5039 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2025/0.3527, allocations: 2.123 MB / 0.5059 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005364/0.3581, allocations: 2.773 MB / 0.5086 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.36, allocations: 392.2 kB / 0.509 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.3633, allocations: 0.8008 MB / 0.5098 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003696/0.367, allocations: 2.733 MB / 0.5125 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00567/0.3727, allocations: 3.312 MB / 0.5157 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.3879, allocations: 10.05 MB / 0.5255 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.3879, allocations: 1.156 kB / 0.5255 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3879, allocations: 1.719 kB / 0.5255 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005829/0.3885, allocations: 0 / 0.5255 GB, free: 10.64 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.02077/0.4093, allocations: 6.968 MB / 0.5323 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4094, allocations: 8.719 kB / 0.5323 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005098/0.4145, allocations: 1.277 MB / 0.5336 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/0.4341, allocations: 5.859 MB / 0.5393 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/0.4412, allocations: 3.249 MB / 0.5425 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.4416, allocations: 330.1 kB / 0.5428 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.4441, allocations: 421.1 kB / 0.5432 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03637/0.4805, allocations: 18.88 MB / 0.5616 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.4806, allocations: 36.16 kB / 0.5617 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001218/0.4818, allocations: 202.1 kB / 0.5618 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007505/0.4894, allocations: 4.748 MB / 0.5665 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03506/0.5244, allocations: 17.54 MB / 0.5836 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09805/0.6225, allocations: 61.23 MB / 0.6434 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/0.6395, allocations: 8.426 MB / 0.6516 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004373/0.6439, allocations: 2.575 MB / 0.6542 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02381/0.6677, allocations: 11.88 MB / 0.6658 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.6678, allocations: 56.56 kB / 0.6658 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 8.266e-06/0.6679, allocations: 0 / 0.6658 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01897/0.6868, allocations: 7.515 MB / 0.6731 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.687, allocations: 110.2 kB / 0.6733 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/0.6993, allocations: 5.66 MB / 0.6788 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004997/0.6998, allocations: 64.83 kB / 0.6788 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004034/0.7039, allocations: 5.079 MB / 0.6838 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/0.7057, allocations: 1.198 MB / 0.685 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004667/0.7104, allocations: 1.899 MB / 0.6868 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7105, allocations: 313 kB / 0.6871 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005288/0.7158, allocations: 3.208 MB / 0.6903 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00891/0.7247, allocations: 8.646 MB / 0.6987 GB, free: 14.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2201/0.9448, allocations: 12.91 MB / 0.7113 GB, free: 182.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000237/0.9451, allocations: 54.59 kB / 0.7114 GB, free: 182.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02162/0.9667, allocations: 11.65 MB / 0.7227 GB, free: 179.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.9669, allocations: 85.25 kB / 0.7228 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/0.9671, allocations: 191.2 kB / 0.723 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.9674, allocations: 252.6 kB / 0.7232 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005884/0.9733, allocations: 2.073 MB / 0.7253 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002101/0.9735, allocations: 376.7 kB / 0.7256 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/0.9796, allocations: 1.321 MB / 0.7269 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009958/0.9806, allocations: 0.5624 MB / 0.7275 GB, free: 179 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.006051/0.9866, allocations: 3.693 MB / 0.7311 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009701/0.9876, allocations: 485.7 kB / 0.7315 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.9887, allocations: 0.647 MB / 0.7322 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/0.9888, allocations: 62.75 kB / 0.7322 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.9888, allocations: 0 / 0.7322 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.9889, allocations: 13.55 kB / 0.7322 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.008, allocations: 12.64 MB / 0.7446 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.009, allocations: 14.88 kB / 0.7446 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.01, allocations: 421.5 kB / 0.745 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/1.01, allocations: 22.44 kB / 0.745 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.01, allocations: 62.64 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/1.01, allocations: 35.77 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.01, allocations: 19.56 kB / 0.7451 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/1.015, allocations: 4.642 MB / 0.7497 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/1.016, allocations: 0.5592 MB / 0.7502 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/1.016, allocations: 61.09 kB / 0.7503 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.018, allocations: 124 kB / 0.7504 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/1.018, allocations: 182 kB / 0.7506 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.018, allocations: 93.95 kB / 0.7506 GB, free: 169 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004765/1.023, allocations: 3.487 MB / 0.754 GB, free: 166.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.023, allocations: 0 / 0.754 GB, free: 166.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006955/1.03, allocations: 1.95 MB / 0.756 GB, free: 164.2 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.004908/1.035, allocations: 5.315 MB / 0.7611 GB, free: 159 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.051, allocations: 12.63 MB / 0.7735 GB, free: 147.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.051, allocations: 4 kB / 0.7735 GB, free: 147.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.053, allocations: 2.01 MB / 0.7754 GB, free: 145.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/1.057, allocations: 0.6244 MB / 0.7761 GB, free: 145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09232/1.149, allocations: 77.92 MB / 0.8521 GB, free: 57.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/1.159, allocations: 5.419 MB / 0.8574 GB, free: 51.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008418/1.167, allocations: 3.543 MB / 0.8609 GB, free: 48.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005005/1.172, allocations: 3.319 MB / 0.8641 GB, free: 44.95 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.172, allocations: 0 / 0.8641 GB, free: 44.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3463/1.519, allocations: 96.91 MB / 0.9588 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.765/11.28, allocations: 12.94 kB / 0.9588 GB, free: 182.9 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches