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.0008598/0.0008599, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002433, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1144, allocations: 63.56 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.273/0.3875, allocations: 39.84 MB / 0.5108 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.4037, allocations: 7.792 MB / 0.5184 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006124/0.4099, allocations: 179.6 kB / 0.5185 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.4118, allocations: 0.7565 MB / 0.5193 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005898/0.4177, allocations: 2.386 MB / 0.5216 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.4185, allocations: 284.8 kB / 0.5219 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.4305, allocations: 9.284 MB / 0.5309 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007125/0.4377, allocations: 4.137 MB / 0.535 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.4411, allocations: 1.751 MB / 0.5367 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003766/0.4449, allocations: 2.795 MB / 0.5394 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.4457, allocations: 231.9 kB / 0.5396 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.4474, allocations: 0.6842 MB / 0.5403 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.4494, allocations: 2.625 MB / 0.5429 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.4525, allocations: 3.161 MB / 0.546 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008836/0.4614, allocations: 9.713 MB / 0.5555 GB, free: 3.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4614, allocations: 4 kB / 0.5555 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4614, allocations: 0 / 0.5555 GB, free: 3.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002041/0.4616, allocations: 3.938 kB / 0.5555 GB, free: 3.551 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.008028/0.4696, allocations: 5.648 MB / 0.561 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4697, allocations: 8.875 kB / 0.561 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/0.4711, allocations: 1.275 MB / 0.5622 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/0.4902, allocations: 6.029 MB / 0.5681 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.4966, allocations: 3.246 MB / 0.5713 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.4969, allocations: 329 kB / 0.5716 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/0.499, allocations: 416.2 kB / 0.572 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/0.528, allocations: 18.89 MB / 0.5904 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.5282, allocations: 31.69 kB / 0.5905 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/0.5294, allocations: 201.6 kB / 0.5907 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007352/0.5368, allocations: 4.755 MB / 0.5953 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03176/0.5685, allocations: 17.53 MB / 0.6124 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09117/0.6598, allocations: 61.28 MB / 0.6723 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.6753, allocations: 8.438 MB / 0.6805 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003711/0.679, allocations: 2.577 MB / 0.683 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01936/0.6984, allocations: 11.87 MB / 0.6946 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.6985, allocations: 64.48 kB / 0.6947 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 6.111e-06/0.6985, allocations: 4 kB / 0.6947 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01714/0.7156, allocations: 7.503 MB / 0.702 GB, free: 11.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.7157, allocations: 107 kB / 0.7021 GB, free: 10.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009026/0.7248, allocations: 5.675 MB / 0.7077 GB, free: 5.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.725, allocations: 60.44 kB / 0.7077 GB, free: 5.227 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003364/0.7284, allocations: 5.081 MB / 0.7127 GB, free: 152 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.2113/0.9397, allocations: 1.195 MB / 0.7138 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.9415, allocations: 0.8199 MB / 0.7146 GB, free: 190 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.9415, allocations: 302.1 kB / 0.7149 GB, free: 189.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00529/0.9468, allocations: 3.209 MB / 0.7181 GB, free: 189.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007638/0.9545, allocations: 8.646 MB / 0.7265 GB, free: 181.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.9678, allocations: 12.92 MB / 0.7391 GB, free: 170.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002963/0.9681, allocations: 54.66 kB / 0.7392 GB, free: 170.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0176/0.9857, allocations: 11.65 MB / 0.7506 GB, free: 166.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.9858, allocations: 88.19 kB / 0.7506 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/0.986, allocations: 188.2 kB / 0.7508 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.9862, allocations: 257.6 kB / 0.7511 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005556/0.9918, allocations: 2.069 MB / 0.7531 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001921/0.992, allocations: 378.1 kB / 0.7535 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/0.9977, allocations: 1.328 MB / 0.7547 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.9989, allocations: 0.5527 MB / 0.7553 GB, free: 165.3 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.005407/1.004, allocations: 3.705 MB / 0.7589 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006607/1.005, allocations: 483.4 kB / 0.7594 GB, free: 163.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/1.006, allocations: 0.6411 MB / 0.76 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.962e-05/1.006, allocations: 57.64 kB / 0.76 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.006, allocations: 3.75 kB / 0.7601 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.006, allocations: 15.69 kB / 0.7601 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.022, allocations: 12.64 MB / 0.7724 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.022, allocations: 12 kB / 0.7724 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.024, allocations: 423 kB / 0.7728 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/1.024, allocations: 24 kB / 0.7728 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.024, allocations: 59.75 kB / 0.7729 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/1.024, allocations: 35.58 kB / 0.7729 GB, free: 151.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.024, allocations: 24.64 kB / 0.773 GB, free: 151.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/1.029, allocations: 4.632 MB / 0.7775 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.03, allocations: 0.5806 MB / 0.778 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005873/1.031, allocations: 62.17 kB / 0.7781 GB, free: 146.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.032, allocations: 127.7 kB / 0.7782 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/1.033, allocations: 184.1 kB / 0.7784 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.033, allocations: 94.66 kB / 0.7785 GB, free: 146 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004453/1.037, allocations: 3.494 MB / 0.7819 GB, free: 143.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/1.037, allocations: 0 / 0.7819 GB, free: 143.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00704/1.044, allocations: 1.947 MB / 0.7838 GB, free: 141.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.005101/1.049, allocations: 5.31 MB / 0.789 GB, free: 136 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009485/1.059, allocations: 7.27 MB / 0.7961 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.059, allocations: 0 / 0.7961 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.061, allocations: 2.006 MB / 0.7981 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/1.072, allocations: 0.6038 MB / 0.7986 GB, free: 126.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09749/1.17, allocations: 81.38 MB / 0.8781 GB, free: 33.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008042/1.178, allocations: 5.413 MB / 0.8834 GB, free: 27.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00796/1.186, allocations: 3.547 MB / 0.8869 GB, free: 24.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004213/1.19, allocations: 3.327 MB / 0.8901 GB, free: 21.06 MB / 0.545 GB Notification: Performance of SimCode: time 1.743e-06/1.19, allocations: 0 / 0.8901 GB, free: 21.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3493/1.54, allocations: 94.61 MB / 0.9825 GB, free: 129.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.54, allocations: 197 kB / 0.9827 GB, free: 128.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.273/5.813, allocations: 0 / 0.9827 GB, free: 128.9 MB / 0.545 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