Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001998/0.001998, allocations: 111.1 kB / 20.44 MB, free: 1.051 MB / 14.72 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.002354/0.002354, allocations: 209.4 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.96 MB / 360.9 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.91 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.311, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01723/0.3282, allocations: 14.62 MB / 0.5749 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.3367, allocations: 3.805 MB / 0.5786 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.339, allocations: 115.6 kB / 0.5787 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004451/0.3434, allocations: 2.164 MB / 0.5808 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006125/0.3495, allocations: 2.607 MB / 0.5833 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009606/0.3505, allocations: 303.4 kB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008901/0.3594, allocations: 6.542 MB / 0.59 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/0.3637, allocations: 3.074 MB / 0.593 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.367, allocations: 2.156 MB / 0.5951 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.3715, allocations: 2.989 MB / 0.5981 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.3726, allocations: 388 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.3745, allocations: 0.714 MB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002853/0.3773, allocations: 2.819 MB / 0.6019 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.3804, allocations: 2.303 MB / 0.6041 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.3932, allocations: 10.71 MB / 0.6146 GB, free: 12.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3932, allocations: 0 / 0.6146 GB, free: 12.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3932, allocations: 0 / 0.6146 GB, free: 12.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000325/0.3935, allocations: 7.938 kB / 0.6146 GB, free: 12.69 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.01349/0.407, allocations: 7.097 MB / 0.6215 GB, free: 5.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4071, allocations: 15.97 kB / 0.6215 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002179/0.4093, allocations: 1.276 MB / 0.6228 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/0.429, allocations: 5.907 MB / 0.6286 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008784/0.4378, allocations: 3.256 MB / 0.6317 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.4381, allocations: 324 kB / 0.632 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.4395, allocations: 423.7 kB / 0.6324 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/0.4747, allocations: 18.89 MB / 0.6509 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.4748, allocations: 35.69 kB / 0.6509 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007883/0.4756, allocations: 207.7 kB / 0.6511 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007806/0.4834, allocations: 4.738 MB / 0.6557 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/0.518, allocations: 17.5 MB / 0.6728 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09684/0.6148, allocations: 58.28 MB / 0.7297 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.238/0.8528, allocations: 6.34 MB / 0.7359 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/0.8561, allocations: 2.393 MB / 0.7383 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01797/0.8741, allocations: 9.418 MB / 0.7475 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.8741, allocations: 60.69 kB / 0.7475 GB, free: 146 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.963e-06/0.8741, allocations: 0 / 0.7475 GB, free: 146 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01435/0.8885, allocations: 7.546 MB / 0.7549 GB, free: 144 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.8885, allocations: 106.6 kB / 0.755 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006407/0.895, allocations: 6.02 MB / 0.7609 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003098/0.8953, allocations: 61.22 kB / 0.7609 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/0.8974, allocations: 5.282 MB / 0.7661 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.8985, allocations: 1.257 MB / 0.7673 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.9003, allocations: 1.919 MB / 0.7692 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.9004, allocations: 301.1 kB / 0.7695 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/0.904, allocations: 3.209 MB / 0.7726 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/0.9096, allocations: 8.647 MB / 0.7811 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.9199, allocations: 12.9 MB / 0.7937 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001983/0.9201, allocations: 58 kB / 0.7937 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01562/0.9357, allocations: 11.69 MB / 0.8051 GB, free: 90.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.9358, allocations: 84 kB / 0.8052 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/0.936, allocations: 192 kB / 0.8054 GB, free: 90.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.9362, allocations: 255.9 kB / 0.8056 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/0.9418, allocations: 2.07 MB / 0.8077 GB, free: 87.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001834/0.942, allocations: 374.5 kB / 0.808 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/0.9476, allocations: 1.365 MB / 0.8094 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009818/0.9486, allocations: 0.554 MB / 0.8099 GB, free: 85.54 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.004701/0.9533, allocations: 3.698 MB / 0.8135 GB, free: 81.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/0.9539, allocations: 0.5005 MB / 0.814 GB, free: 81.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009069/0.9548, allocations: 0.6449 MB / 0.8146 GB, free: 80.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/0.9548, allocations: 55.98 kB / 0.8147 GB, free: 80.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.9549, allocations: 4.125 kB / 0.8147 GB, free: 80.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.9549, allocations: 19.95 kB / 0.8147 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.9697, allocations: 12.24 MB / 0.8267 GB, free: 68.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.9698, allocations: 16 kB / 0.8267 GB, free: 68.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.9713, allocations: 424.2 kB / 0.8271 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.832e-05/0.9713, allocations: 23.94 kB / 0.8271 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.9714, allocations: 71.73 kB / 0.8272 GB, free: 67.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/0.9714, allocations: 30.97 kB / 0.8272 GB, free: 67.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.9714, allocations: 23.88 kB / 0.8272 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.9754, allocations: 4.655 MB / 0.8318 GB, free: 62.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/0.9761, allocations: 0.5037 MB / 0.8323 GB, free: 62.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/0.9766, allocations: 63.92 kB / 0.8323 GB, free: 62.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.9779, allocations: 123 kB / 0.8324 GB, free: 62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.9781, allocations: 188.7 kB / 0.8326 GB, free: 61.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.9783, allocations: 99.42 kB / 0.8327 GB, free: 61.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003497/0.9818, allocations: 3.489 MB / 0.8361 GB, free: 58.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9818, allocations: 0 / 0.8361 GB, free: 58.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005029/0.9868, allocations: 1.97 MB / 0.838 GB, free: 56.28 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.004187/0.991, allocations: 5.339 MB / 0.8433 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007141/0.9981, allocations: 7.008 MB / 0.8501 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.9982, allocations: 4 kB / 0.8501 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.9998, allocations: 1.866 MB / 0.8519 GB, free: 41.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.002, allocations: 0.6256 MB / 0.8525 GB, free: 41.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07982/1.082, allocations: 68.34 MB / 0.9193 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00879/1.091, allocations: 4.937 MB / 0.9241 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008089/1.099, allocations: 3.547 MB / 0.9276 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00533/1.104, allocations: 3.323 MB / 0.9308 GB, free: 364 kB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/1.104, allocations: 0 / 0.9308 GB, free: 364 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4194/1.523, allocations: 89.99 MB / 1.019 GB, free: 202.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.47/22, allocations: 11.62 kB / 1.019 GB, free: 202.9 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 25.99800271168351]