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.001278/0.001278, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001325, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 72.05 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1224, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2504/0.3728, allocations: 41.05 MB / 0.5082 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.3969, allocations: 7.833 MB / 0.5159 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01084/0.4078, allocations: 180.6 kB / 0.5161 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.4136, allocations: 2.11 MB / 0.5181 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.4218, allocations: 2.383 MB / 0.5205 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.4229, allocations: 283.8 kB / 0.5207 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01426/0.4372, allocations: 9.288 MB / 0.5298 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006476/0.4437, allocations: 3.266 MB / 0.533 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.4495, allocations: 1.87 MB / 0.5348 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005367/0.4549, allocations: 2.943 MB / 0.5377 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.4564, allocations: 278.2 kB / 0.5379 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.4592, allocations: 0.7437 MB / 0.5387 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.4623, allocations: 2.658 MB / 0.5413 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004374/0.4667, allocations: 3.229 MB / 0.5444 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.4774, allocations: 9.932 MB / 0.5541 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4774, allocations: 0 / 0.5541 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4774, allocations: 0 / 0.5541 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003372/0.4778, allocations: 4 kB / 0.5541 GB, free: 2.562 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.01796/0.4958, allocations: 6.971 MB / 0.5609 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.4958, allocations: 8.875 kB / 0.5609 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003657/0.4995, allocations: 1.277 MB / 0.5622 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/0.5189, allocations: 5.854 MB / 0.5679 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008971/0.5279, allocations: 3.258 MB / 0.5711 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.5284, allocations: 319.5 kB / 0.5714 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.531, allocations: 421 kB / 0.5718 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03852/0.5695, allocations: 18.89 MB / 0.5902 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002036/0.5698, allocations: 35.67 kB / 0.5903 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/0.5721, allocations: 205.5 kB / 0.5905 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008438/0.5806, allocations: 4.748 MB / 0.5951 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/0.6146, allocations: 17.53 MB / 0.6122 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09434/0.709, allocations: 61.25 MB / 0.672 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.7244, allocations: 8.425 MB / 0.6803 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004233/0.7286, allocations: 2.575 MB / 0.6828 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02273/0.7514, allocations: 11.88 MB / 0.6944 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.7515, allocations: 60.5 kB / 0.6944 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 6.752e-06/0.7515, allocations: 0 / 0.6944 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01814/0.7696, allocations: 7.513 MB / 0.7018 GB, free: 9.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.7698, allocations: 103 kB / 0.7019 GB, free: 9.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/0.7813, allocations: 5.672 MB / 0.7074 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004066/0.7817, allocations: 63.81 kB / 0.7075 GB, free: 3.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2556/1.037, allocations: 5.07 MB / 0.7124 GB, free: 191.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.039, allocations: 1.196 MB / 0.7136 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003049/1.042, allocations: 1.903 MB / 0.7154 GB, free: 190.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/1.042, allocations: 302.6 kB / 0.7157 GB, free: 189.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005011/1.047, allocations: 3.209 MB / 0.7189 GB, free: 188.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007885/1.055, allocations: 8.652 MB / 0.7273 GB, free: 180.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.069, allocations: 12.9 MB / 0.7399 GB, free: 170.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002946/1.069, allocations: 55.06 kB / 0.74 GB, free: 170.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02082/1.09, allocations: 11.65 MB / 0.7513 GB, free: 165.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.091, allocations: 88.16 kB / 0.7514 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002847/1.091, allocations: 194.1 kB / 0.7516 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/1.091, allocations: 252.4 kB / 0.7519 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/1.098, allocations: 2.073 MB / 0.7539 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002557/1.098, allocations: 375.2 kB / 0.7542 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006862/1.105, allocations: 1.335 MB / 0.7555 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.106, allocations: 0.5558 MB / 0.7561 GB, free: 164.5 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.006169/1.112, allocations: 3.698 MB / 0.7597 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.113, allocations: 481.5 kB / 0.7602 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.115, allocations: 0.6462 MB / 0.7608 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.129e-05/1.115, allocations: 63.2 kB / 0.7609 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/1.115, allocations: 11.69 kB / 0.7609 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/1.115, allocations: 11.53 kB / 0.7609 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.132, allocations: 12.62 MB / 0.7732 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.132, allocations: 16 kB / 0.7732 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.133, allocations: 419.3 kB / 0.7736 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/1.133, allocations: 24.78 kB / 0.7736 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.133, allocations: 67.14 kB / 0.7737 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/1.133, allocations: 35.53 kB / 0.7737 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.133, allocations: 23.88 kB / 0.7738 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.138, allocations: 4.63 MB / 0.7783 GB, free: 145.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.139, allocations: 0.5601 MB / 0.7788 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004967/1.139, allocations: 59.89 kB / 0.7789 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.141, allocations: 126.4 kB / 0.779 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.141, allocations: 175.7 kB / 0.7792 GB, free: 144.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.141, allocations: 103.9 kB / 0.7793 GB, free: 144.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004348/1.146, allocations: 3.491 MB / 0.7827 GB, free: 141.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.146, allocations: 0 / 0.7827 GB, free: 141.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007562/1.153, allocations: 1.944 MB / 0.7846 GB, free: 139.4 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.005171/1.158, allocations: 5.318 MB / 0.7898 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00915/1.168, allocations: 7.268 MB / 0.7969 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.168, allocations: 64 / 0.7969 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.17, allocations: 2.014 MB / 0.7988 GB, free: 124.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/1.173, allocations: 0.6004 MB / 0.7994 GB, free: 124.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1075/1.281, allocations: 81.35 MB / 0.8789 GB, free: 31.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008751/1.289, allocations: 5.415 MB / 0.8841 GB, free: 25.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008469/1.298, allocations: 3.543 MB / 0.8876 GB, free: 22.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005131/1.303, allocations: 3.327 MB / 0.8909 GB, free: 19.03 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.303, allocations: 3.938 kB / 0.8909 GB, free: 19.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/1.66, allocations: 95.25 MB / 0.9839 GB, free: 124.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.66, allocations: 204.8 kB / 0.9841 GB, free: 124.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.467/6.128, allocations: 0 / 0.9841 GB, free: 124.6 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