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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8881/0.8881, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 32.78 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.08e-05, allocations: 4.109 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.1813/0.1813, allocations: 14.65 MB / 454.2 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.1855, allocations: 3.801 MB / 458 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.1861, allocations: 111.2 kB / 458.1 MB, free: 35.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.1878, allocations: 2.251 MB / 460.4 MB, free: 34.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.1899, allocations: 2.664 MB / 463 MB, free: 33.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1902, allocations: 329.1 kB / 463.4 MB, free: 33.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.1933, allocations: 6.671 MB / 470 MB, free: 30.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.1949, allocations: 3.098 MB / 473.1 MB, free: 29.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.1965, allocations: 3.101 MB / 476.2 MB, free: 28.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.198, allocations: 2.928 MB / 479.2 MB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000328/0.1983, allocations: 392.1 kB / 479.5 MB, free: 27.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008002/0.1991, allocations: 0.8365 MB / 480.4 MB, free: 27.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.2005, allocations: 2.909 MB / 483.3 MB, free: 26.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.2017, allocations: 1.652 MB / 484.9 MB, free: 25.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008459/0.2102, allocations: 10.39 MB / 495.3 MB, free: 21.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2102, allocations: 0 / 495.3 MB, free: 21.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2102, allocations: 0 / 495.3 MB, free: 21.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002296/0.2104, allocations: 1.156 kB / 495.3 MB, free: 21.52 MB / 410.7 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.0103/0.2207, allocations: 7.018 MB / 0.4906 GB, free: 16.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.2208, allocations: 9.75 kB / 0.4906 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001272/0.222, allocations: 1.271 MB / 0.4918 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.2325, allocations: 5.964 MB / 0.4977 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004718/0.2372, allocations: 3.263 MB / 0.5008 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.2374, allocations: 324.2 kB / 0.5011 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/0.2379, allocations: 418.9 kB / 0.5015 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.2602, allocations: 18.93 MB / 0.52 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/0.2603, allocations: 31.69 kB / 0.5201 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005154/0.2608, allocations: 205.2 kB / 0.5203 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004783/0.2656, allocations: 4.746 MB / 0.5249 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.2924, allocations: 17.53 MB / 0.542 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08073/0.3731, allocations: 58.55 MB / 0.5992 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009885/0.383, allocations: 6.593 MB / 0.6056 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.3856, allocations: 2.393 MB / 0.608 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/0.3988, allocations: 9.747 MB / 0.6175 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.3989, allocations: 60.55 kB / 0.6175 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=321): time 7.424e-06/0.3989, allocations: 0 / 0.6175 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of matching and sorting (n=321): time 0.01241/0.4113, allocations: 7.924 MB / 0.6253 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.4114, allocations: 103.1 kB / 0.6254 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007682/0.4191, allocations: 6.019 MB / 0.6313 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004628/0.4195, allocations: 61.7 kB / 0.6313 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2001/0.6196, allocations: 5.231 MB / 0.6364 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.6207, allocations: 1.237 MB / 0.6376 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/0.6225, allocations: 1.894 MB / 0.6395 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.6225, allocations: 304.1 kB / 0.6398 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.6251, allocations: 3.205 MB / 0.6429 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.6288, allocations: 8.662 MB / 0.6514 GB, free: 144 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008138/0.6369, allocations: 12.91 MB / 0.664 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/0.637, allocations: 53.72 kB / 0.664 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01606/0.6531, allocations: 11.68 MB / 0.6754 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.6532, allocations: 88 kB / 0.6755 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000303/0.6535, allocations: 188.7 kB / 0.6757 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.6538, allocations: 253.1 kB / 0.6759 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004724/0.6586, allocations: 2.079 MB / 0.678 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002638/0.6588, allocations: 378.5 kB / 0.6783 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/0.6639, allocations: 1.36 MB / 0.6797 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/0.6653, allocations: 0.549 MB / 0.6802 GB, free: 128.1 MB / 0.5261 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.006819/0.6721, allocations: 3.698 MB / 0.6838 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000874/0.673, allocations: 0.4965 MB / 0.6843 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.6742, allocations: 0.6517 MB / 0.6849 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.751e-05/0.6743, allocations: 70.05 kB / 0.685 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.6743, allocations: 4 kB / 0.685 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6744, allocations: 11.94 kB / 0.685 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.6926, allocations: 12.32 MB / 0.697 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.6926, allocations: 11.84 kB / 0.697 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009082/0.6935, allocations: 420.8 kB / 0.6975 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.6936, allocations: 24 kB / 0.6975 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.6936, allocations: 67.94 kB / 0.6975 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.6937, allocations: 31.2 kB / 0.6976 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.6937, allocations: 22.94 kB / 0.6976 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.6971, allocations: 4.631 MB / 0.7021 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009144/0.698, allocations: 0.5159 MB / 0.7026 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.6984, allocations: 57.83 kB / 0.7027 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.6993, allocations: 130.7 kB / 0.7028 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6994, allocations: 183.7 kB / 0.703 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6996, allocations: 97.28 kB / 0.7031 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003839/0.7034, allocations: 3.487 MB / 0.7065 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7034, allocations: 0 / 0.7065 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005696/0.7091, allocations: 1.973 MB / 0.7084 GB, free: 110.9 MB / 0.5261 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.003551/0.7126, allocations: 5.319 MB / 0.7136 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007296/0.7199, allocations: 6.997 MB / 0.7204 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.72, allocations: 4 kB / 0.7204 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.7216, allocations: 1.863 MB / 0.7222 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.724, allocations: 0.6266 MB / 0.7229 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0649/0.7889, allocations: 68.08 MB / 0.7893 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006226/0.7951, allocations: 4.948 MB / 0.7942 GB, free: 18.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004925/0.8, allocations: 3.543 MB / 0.7976 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003735/0.8038, allocations: 3.32 MB / 0.8009 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/0.8038, allocations: 4 kB / 0.8009 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2672/1.071, allocations: 89.86 MB / 0.8886 GB, free: 159.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.36, allocations: 2.781 kB / 0.8886 GB, free: 159.5 MB / 0.5573 GB " [Timeout remaining time 647] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 15.690372838638723]