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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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.2159/0.2159, allocations: 44.92 MB / 349.6 MB, free: 1.777 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002016/0.002016, allocations: 68.17 kB / 491.8 MB, free: 30.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 64.25 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01961/0.1238, allocations: 17.07 MB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009036/0.1328, allocations: 3.944 MB / 0.5635 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.1354, allocations: 103.8 kB / 0.5636 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.1404, allocations: 2.203 MB / 0.5658 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.1475, allocations: 2.607 MB / 0.5683 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1485, allocations: 299.5 kB / 0.5686 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009559/0.158, allocations: 6.54 MB / 0.575 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00475/0.1628, allocations: 2.971 MB / 0.5779 GB, free: 200 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.1669, allocations: 2.133 MB / 0.58 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.1718, allocations: 3.114 MB / 0.583 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.1732, allocations: 392 kB / 0.5834 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.1754, allocations: 0.827 MB / 0.5842 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003246/0.1786, allocations: 2.866 MB / 0.587 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004521/0.1832, allocations: 3.345 MB / 0.5903 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.1964, allocations: 10.76 MB / 0.6008 GB, free: 8.664 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1964, allocations: 0 / 0.6008 GB, free: 8.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1964, allocations: 0 / 0.6008 GB, free: 8.664 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003662/0.1967, allocations: 4 kB / 0.6008 GB, free: 8.66 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.01551/0.2123, allocations: 7.245 MB / 0.6078 GB, free: 1.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.2123, allocations: 16.03 kB / 0.6079 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003027/0.2153, allocations: 1.272 MB / 0.6091 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2995/0.5148, allocations: 5.905 MB / 0.6149 GB, free: 53.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009088/0.5239, allocations: 3.306 MB / 0.6181 GB, free: 52.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.5242, allocations: 327.1 kB / 0.6184 GB, free: 52.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/0.5261, allocations: 411.2 kB / 0.6188 GB, free: 52.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.554, allocations: 18.89 MB / 0.6373 GB, free: 41.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-05/0.5541, allocations: 39.62 kB / 0.6373 GB, free: 41.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000909/0.5551, allocations: 206.4 kB / 0.6375 GB, free: 41.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005473/0.5605, allocations: 4.746 MB / 0.6421 GB, free: 36.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02624/0.5868, allocations: 17.53 MB / 0.6592 GB, free: 19.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08598/0.6727, allocations: 60.99 MB / 0.7188 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/0.6883, allocations: 8.161 MB / 0.7268 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003873/0.6922, allocations: 2.384 MB / 0.7291 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/0.7159, allocations: 11.9 MB / 0.7407 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.7159, allocations: 56.56 kB / 0.7408 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 5.63e-06/0.7159, allocations: 0 / 0.7408 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01836/0.7343, allocations: 7.547 MB / 0.7481 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.7344, allocations: 103.1 kB / 0.7482 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/0.7439, allocations: 5.693 MB / 0.7538 GB, free: 492 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005041/0.7444, allocations: 63.67 kB / 0.7539 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004562/0.7489, allocations: 5.285 MB / 0.759 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/0.7507, allocations: 1.26 MB / 0.7602 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002978/0.7537, allocations: 1.917 MB / 0.7621 GB, free: 7.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7538, allocations: 305.1 kB / 0.7624 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005855/0.7597, allocations: 3.208 MB / 0.7655 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/0.7711, allocations: 8.65 MB / 0.774 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/0.7888, allocations: 12.9 MB / 0.7866 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/0.789, allocations: 56 kB / 0.7866 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02204/0.811, allocations: 11.69 MB / 0.7981 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.8112, allocations: 87.94 kB / 0.7981 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002995/0.8115, allocations: 192 kB / 0.7983 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.8118, allocations: 252 kB / 0.7986 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006849/0.8187, allocations: 2.07 MB / 0.8006 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004077/0.8191, allocations: 376.8 kB / 0.8009 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006903/0.826, allocations: 1.361 MB / 0.8023 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/0.8276, allocations: 0.5623 MB / 0.8028 GB, free: 8.824 MB / 0.5919 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.006922/0.8345, allocations: 3.706 MB / 0.8064 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009875/0.8355, allocations: 0.4966 MB / 0.8069 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.837, allocations: 0.6411 MB / 0.8076 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.8371, allocations: 55.98 kB / 0.8076 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.8372, allocations: 4 kB / 0.8076 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/0.8372, allocations: 15.95 kB / 0.8076 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/0.8625, allocations: 12.63 MB / 0.82 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/0.8626, allocations: 16 kB / 0.82 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.8643, allocations: 423.3 kB / 0.8204 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-05/0.8643, allocations: 24.75 kB / 0.8204 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/0.8646, allocations: 59.98 kB / 0.8205 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-05/0.8646, allocations: 27.94 kB / 0.8205 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/0.8646, allocations: 24.62 kB / 0.8205 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006471/0.8711, allocations: 4.664 MB / 0.8251 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.8724, allocations: 0.5907 MB / 0.8256 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008342/0.8733, allocations: 55.98 kB / 0.8257 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.8751, allocations: 127.8 kB / 0.8258 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/0.8754, allocations: 176.8 kB / 0.826 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/0.8756, allocations: 100.1 kB / 0.8261 GB, free: 460 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005641/0.8812, allocations: 3.494 MB / 0.8295 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8812, allocations: 0 / 0.8295 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007222/0.8885, allocations: 2.013 MB / 0.8315 GB, free: 10.96 MB / 0.6231 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.007057/0.8955, allocations: 5.34 MB / 0.8367 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.2316/1.127, allocations: 7.003 MB / 0.8435 GB, free: 211.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.127, allocations: 6.156 kB / 0.8435 GB, free: 211.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/1.13, allocations: 1.86 MB / 0.8453 GB, free: 211.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.133, allocations: 0.6137 MB / 0.8459 GB, free: 211.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08092/1.214, allocations: 68.38 MB / 0.9127 GB, free: 156 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/1.221, allocations: 5.429 MB / 0.918 GB, free: 150.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006756/1.228, allocations: 3.543 MB / 0.9215 GB, free: 147 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004329/1.232, allocations: 3.331 MB / 0.9247 GB, free: 143.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/1.232, allocations: 1.969 kB / 0.9247 GB, free: 143.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.354, allocations: 91.88 MB / 1.014 GB, free: 52.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/24.12, allocations: 4 kB / 1.014 GB, free: 52.14 MB / 0.6231 GB " [Timeout remaining time 636] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 27.6374449506402]