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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.96 MB / 360.8 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.86 kB / 0.4961 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3082, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01753/0.3257, allocations: 14.62 MB / 0.575 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008213/0.3339, allocations: 3.805 MB / 0.5787 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.3363, allocations: 111.6 kB / 0.5788 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004529/0.3408, allocations: 2.16 MB / 0.5809 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.3472, allocations: 2.607 MB / 0.5834 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3484, allocations: 307.4 kB / 0.5837 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.3594, allocations: 6.539 MB / 0.5901 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005408/0.3648, allocations: 3.074 MB / 0.5931 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.3689, allocations: 2.148 MB / 0.5952 GB, free: 492 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.3738, allocations: 2.993 MB / 0.5981 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.375, allocations: 392 kB / 0.5985 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.3771, allocations: 0.7178 MB / 0.5992 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002928/0.3801, allocations: 2.811 MB / 0.602 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.3832, allocations: 2.311 MB / 0.6042 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.397, allocations: 10.72 MB / 0.6147 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.397, allocations: 0 / 0.6147 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.397, allocations: 0 / 0.6147 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003872/0.3974, allocations: 0 / 0.6147 GB, free: 12.46 MB / 462.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.0139/0.4113, allocations: 7.101 MB / 0.6216 GB, free: 5.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4113, allocations: 8.031 kB / 0.6216 GB, free: 5.273 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002478/0.4138, allocations: 1.272 MB / 0.6229 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/0.4336, allocations: 5.907 MB / 0.6286 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/0.4423, allocations: 3.268 MB / 0.6318 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.4427, allocations: 324 kB / 0.6321 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.4445, allocations: 415.7 kB / 0.6325 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03247/0.477, allocations: 18.88 MB / 0.651 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.451e-05/0.4771, allocations: 43.56 kB / 0.651 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006344/0.4777, allocations: 211.6 kB / 0.6512 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007864/0.4856, allocations: 4.742 MB / 0.6559 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03507/0.5207, allocations: 17.49 MB / 0.6729 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09963/0.6203, allocations: 58.28 MB / 0.7298 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2735/0.8938, allocations: 6.334 MB / 0.736 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.8971, allocations: 2.388 MB / 0.7384 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01858/0.9157, allocations: 9.422 MB / 0.7476 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.9157, allocations: 59.47 kB / 0.7476 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 8.305e-06/0.9157, allocations: 0 / 0.7476 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01487/0.9306, allocations: 7.541 MB / 0.755 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.9307, allocations: 107.1 kB / 0.7551 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/0.9374, allocations: 6.019 MB / 0.761 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000327/0.9377, allocations: 65.61 kB / 0.761 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/0.9399, allocations: 5.279 MB / 0.7662 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000961/0.9409, allocations: 1.263 MB / 0.7674 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/0.9427, allocations: 1.911 MB / 0.7693 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/0.9428, allocations: 308.9 kB / 0.7696 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/0.9462, allocations: 3.202 MB / 0.7727 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/0.9513, allocations: 8.651 MB / 0.7812 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.9616, allocations: 12.91 MB / 0.7938 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001624/0.9617, allocations: 58.05 kB / 0.7938 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01765/0.9794, allocations: 11.67 MB / 0.8052 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.9795, allocations: 87.94 kB / 0.8053 GB, free: 89.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/0.9797, allocations: 192 kB / 0.8055 GB, free: 89.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.9798, allocations: 255.9 kB / 0.8057 GB, free: 89.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/0.9857, allocations: 2.074 MB / 0.8078 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002409/0.986, allocations: 375.4 kB / 0.8081 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/0.9928, allocations: 1.368 MB / 0.8094 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/0.994, allocations: 0.55 MB / 0.81 GB, free: 85.09 MB / 0.5606 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.005077/0.9991, allocations: 3.701 MB / 0.8136 GB, free: 81.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/0.9997, allocations: 0.4966 MB / 0.8141 GB, free: 80.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009489/1.001, allocations: 0.6488 MB / 0.8147 GB, free: 80.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.955e-05/1.001, allocations: 55.58 kB / 0.8148 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.001, allocations: 4 kB / 0.8148 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.001, allocations: 15.95 kB / 0.8148 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/1.02, allocations: 12.24 MB / 0.8267 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.02, allocations: 15.98 kB / 0.8268 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.021, allocations: 423.3 kB / 0.8272 GB, free: 67.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.021, allocations: 23.94 kB / 0.8272 GB, free: 67.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.021, allocations: 68.44 kB / 0.8273 GB, free: 67.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/1.021, allocations: 28.06 kB / 0.8273 GB, free: 67.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.021, allocations: 23.94 kB / 0.8273 GB, free: 67.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/1.026, allocations: 4.663 MB / 0.8319 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/1.027, allocations: 0.5037 MB / 0.8323 GB, free: 61.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005199/1.027, allocations: 63.92 kB / 0.8324 GB, free: 61.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.029, allocations: 131.4 kB / 0.8325 GB, free: 61.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/1.029, allocations: 180.7 kB / 0.8327 GB, free: 61.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.029, allocations: 95.67 kB / 0.8328 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004582/1.034, allocations: 3.493 MB / 0.8362 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.034, allocations: 0 / 0.8362 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00673/1.04, allocations: 1.97 MB / 0.8381 GB, free: 55.82 MB / 0.5606 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.005165/1.046, allocations: 5.334 MB / 0.8433 GB, free: 50.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009741/1.055, allocations: 7.01 MB / 0.8502 GB, free: 43.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.135e-05/1.055, allocations: 5.875 kB / 0.8502 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/1.057, allocations: 1.861 MB / 0.852 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.06, allocations: 0.6297 MB / 0.8526 GB, free: 40.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09208/1.152, allocations: 68.35 MB / 0.9194 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008018/1.161, allocations: 4.936 MB / 0.9242 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00782/1.168, allocations: 3.543 MB / 0.9277 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005259/1.174, allocations: 3.323 MB / 0.9309 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/1.174, allocations: 0 / 0.9309 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3797/1.553, allocations: 89.96 MB / 1.019 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.82/21.37, allocations: 7.078 kB / 1.019 GB, free: 202.4 MB / 0.6544 GB " [Timeout remaining time 638] (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 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.807270787656307]