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.001782/0.001782, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.002198/0.002198, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.48/1.48, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2221/0.2221, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.002249/0.002249, allocations: 79.86 kB / 0.4912 GB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1119, allocations: 65.99 MB / 0.5557 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01892/0.1308, allocations: 16.99 MB / 0.5723 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008453/0.1393, allocations: 3.972 MB / 0.5762 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.1415, allocations: 95.81 kB / 0.5762 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004733/0.1463, allocations: 2.234 MB / 0.5784 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.1524, allocations: 2.584 MB / 0.581 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009686/0.1534, allocations: 295.5 kB / 0.5812 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008955/0.1623, allocations: 6.547 MB / 0.5876 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.1665, allocations: 2.959 MB / 0.5905 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.17, allocations: 2.113 MB / 0.5926 GB, free: 256 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2277/0.3977, allocations: 3.107 MB / 0.5956 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001637/0.3993, allocations: 391.5 kB / 0.596 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.4021, allocations: 0.827 MB / 0.5968 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003872/0.4059, allocations: 2.819 MB / 0.5995 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005323/0.4112, allocations: 3.308 MB / 0.6028 GB, free: 6.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.4255, allocations: 10.65 MB / 0.6132 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4255, allocations: 1.156 kB / 0.6132 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4255, allocations: 0 / 0.6132 GB, free: 4.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004421/0.4259, allocations: 3.438 kB / 0.6132 GB, free: 4.301 MB / 446.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.01735/0.4433, allocations: 7.177 MB / 0.6202 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4433, allocations: 9.781 kB / 0.6202 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003606/0.4469, allocations: 1.274 MB / 0.6214 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01974/0.4666, allocations: 5.91 MB / 0.6272 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009746/0.4764, allocations: 3.304 MB / 0.6304 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.4767, allocations: 320.8 kB / 0.6307 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.4785, allocations: 418 kB / 0.6311 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03643/0.515, allocations: 18.88 MB / 0.6496 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001748/0.5151, allocations: 43.19 kB / 0.6496 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/0.517, allocations: 208 kB / 0.6498 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008282/0.5253, allocations: 4.746 MB / 0.6545 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03855/0.5638, allocations: 17.53 MB / 0.6716 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/0.6733, allocations: 60.98 MB / 0.7311 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/0.6903, allocations: 8.164 MB / 0.7391 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004747/0.6951, allocations: 2.391 MB / 0.7414 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02915/0.7242, allocations: 11.89 MB / 0.7531 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.7243, allocations: 52.56 kB / 0.7531 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.644e-06/0.7243, allocations: 4 kB / 0.7531 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.0207/0.745, allocations: 7.541 MB / 0.7605 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.7451, allocations: 104.7 kB / 0.7606 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/0.7571, allocations: 5.681 MB / 0.7661 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004843/0.7576, allocations: 71.97 kB / 0.7662 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004976/0.7626, allocations: 5.285 MB / 0.7713 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001883/0.7644, allocations: 1.247 MB / 0.7726 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005646/0.7701, allocations: 1.922 MB / 0.7744 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7702, allocations: 305.1 kB / 0.7747 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006487/0.7767, allocations: 3.208 MB / 0.7779 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01226/0.789, allocations: 8.653 MB / 0.7863 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.8068, allocations: 12.91 MB / 0.7989 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002007/0.807, allocations: 56 kB / 0.799 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02502/0.832, allocations: 11.67 MB / 0.8104 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.8323, allocations: 91.98 kB / 0.8105 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/0.8326, allocations: 188 kB / 0.8106 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.833, allocations: 252 kB / 0.8109 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007477/0.8404, allocations: 2.078 MB / 0.8129 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004429/0.8409, allocations: 372.8 kB / 0.8133 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007582/0.8485, allocations: 1.367 MB / 0.8146 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/0.8505, allocations: 0.549 MB / 0.8151 GB, free: 13.64 MB / 0.6387 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.008926/0.8595, allocations: 3.703 MB / 0.8188 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/0.8606, allocations: 0.5005 MB / 0.8192 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.8626, allocations: 0.6488 MB / 0.8199 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/0.8627, allocations: 54.95 kB / 0.8199 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.8627, allocations: 4 kB / 0.8199 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/0.8628, allocations: 12.89 kB / 0.8199 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03305/0.8958, allocations: 12.64 MB / 0.8323 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/0.8959, allocations: 20.98 kB / 0.8323 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.8978, allocations: 415.3 kB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.813e-05/0.8979, allocations: 28 kB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/0.8982, allocations: 62.34 kB / 0.8328 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.389e-05/0.8982, allocations: 31.86 kB / 0.8328 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/0.8983, allocations: 19.94 kB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007656/0.9059, allocations: 4.663 MB / 0.8374 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.9074, allocations: 0.5867 MB / 0.838 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/0.9087, allocations: 62.66 kB / 0.838 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/0.911, allocations: 121.9 kB / 0.8381 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/0.9116, allocations: 180.8 kB / 0.8383 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003691/0.912, allocations: 101.7 kB / 0.8384 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008374/0.9204, allocations: 3.485 MB / 0.8418 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9204, allocations: 4 kB / 0.8418 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.2719/1.192, allocations: 1.965 MB / 0.8437 GB, free: 226.6 MB / 0.6544 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.008932/1.201, allocations: 5.337 MB / 0.849 GB, free: 225.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.214, allocations: 7.006 MB / 0.8558 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/1.214, allocations: 1.281 kB / 0.8558 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/1.216, allocations: 1.882 MB / 0.8576 GB, free: 223.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.22, allocations: 0.6075 MB / 0.8582 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09692/1.317, allocations: 68.35 MB / 0.925 GB, free: 165.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/1.328, allocations: 5.42 MB / 0.9303 GB, free: 161 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007578/1.335, allocations: 3.547 MB / 0.9337 GB, free: 157.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005844/1.341, allocations: 3.323 MB / 0.937 GB, free: 154.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.343e-06/1.341, allocations: 0 / 0.937 GB, free: 154.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/1.465, allocations: 91.76 MB / 1.027 GB, free: 62.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.39/24.86, allocations: 5.703 kB / 1.027 GB, free: 62.73 MB / 0.6544 GB " [Timeout remaining time 635] (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_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_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: 28.497421202715486]