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.001344/0.001344, allocations: 114 kB / 20.43 MB, free: 1.457 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.001615/0.001615, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2589/0.2589, allocations: 46.92 MB / 360.8 MB, free: 4.18 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.003473/0.003473, allocations: 79.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3567, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.02143/0.3781, allocations: 17 MB / 0.5773 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00989/0.388, allocations: 3.984 MB / 0.5812 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.3913, allocations: 115.6 kB / 0.5813 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005478/0.3968, allocations: 2.234 MB / 0.5835 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007045/0.4039, allocations: 2.611 MB / 0.5861 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.4051, allocations: 299.5 kB / 0.5863 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.416, allocations: 6.555 MB / 0.5928 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005292/0.4213, allocations: 3.078 MB / 0.5958 GB, free: 268 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.4252, allocations: 2.156 MB / 0.5979 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/0.4302, allocations: 3.102 MB / 0.6009 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.4315, allocations: 392 kB / 0.6013 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.434, allocations: 0.8349 MB / 0.6021 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004047/0.438, allocations: 2.823 MB / 0.6048 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005827/0.4439, allocations: 3.302 MB / 0.6081 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.4587, allocations: 10.65 MB / 0.6185 GB, free: 8.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4587, allocations: 3.938 kB / 0.6185 GB, free: 8.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4587, allocations: 7.938 kB / 0.6185 GB, free: 8.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003033/0.459, allocations: 0 / 0.6185 GB, free: 8.898 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.01568/0.4747, allocations: 7.093 MB / 0.6254 GB, free: 1.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4747, allocations: 8.031 kB / 0.6254 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002987/0.4777, allocations: 1.28 MB / 0.6267 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/0.4981, allocations: 5.898 MB / 0.6324 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0084/0.5065, allocations: 3.233 MB / 0.6356 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.5068, allocations: 329.2 kB / 0.6359 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.5082, allocations: 419.6 kB / 0.6363 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03278/0.541, allocations: 18.89 MB / 0.6547 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.5411, allocations: 39.62 kB / 0.6548 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007801/0.5419, allocations: 203.7 kB / 0.655 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007865/0.5497, allocations: 4.746 MB / 0.6596 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03576/0.5855, allocations: 17.53 MB / 0.6767 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3369/0.9224, allocations: 61.05 MB / 0.7363 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.9346, allocations: 6.355 MB / 0.7425 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.9373, allocations: 2.388 MB / 0.7449 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01627/0.9536, allocations: 9.894 MB / 0.7545 GB, free: 131 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.9536, allocations: 58.62 kB / 0.7546 GB, free: 131 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 5.731e-06/0.9536, allocations: 0 / 0.7546 GB, free: 131 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01489/0.9685, allocations: 7.545 MB / 0.762 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.9685, allocations: 101.7 kB / 0.7621 GB, free: 129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/0.9748, allocations: 5.681 MB / 0.7676 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003043/0.9751, allocations: 68.64 kB / 0.7677 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.9774, allocations: 5.285 MB / 0.7728 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009321/0.9783, allocations: 1.25 MB / 0.7741 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.9802, allocations: 1.92 MB / 0.7759 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.9802, allocations: 303.4 kB / 0.7762 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.9838, allocations: 3.211 MB / 0.7794 GB, free: 118 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/0.989, allocations: 8.651 MB / 0.7878 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009312/0.9983, allocations: 12.91 MB / 0.8004 GB, free: 91.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/0.9984, allocations: 52 kB / 0.8005 GB, free: 91.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01464/1.013, allocations: 11.68 MB / 0.8119 GB, free: 79.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/1.013, allocations: 88.22 kB / 0.8119 GB, free: 79.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.013, allocations: 192 kB / 0.8121 GB, free: 79.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/1.013, allocations: 252 kB / 0.8124 GB, free: 79.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005697/1.019, allocations: 2.078 MB / 0.8144 GB, free: 77.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001837/1.019, allocations: 374.5 kB / 0.8148 GB, free: 76.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/1.025, allocations: 1.368 MB / 0.8161 GB, free: 75.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006979/1.025, allocations: 0.5501 MB / 0.8166 GB, free: 74.73 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.004445/1.03, allocations: 3.701 MB / 0.8202 GB, free: 71.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005518/1.03, allocations: 0.5004 MB / 0.8207 GB, free: 70.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/1.031, allocations: 0.6449 MB / 0.8214 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/1.032, allocations: 55.98 kB / 0.8214 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.032, allocations: 4 kB / 0.8214 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.032, allocations: 15.89 kB / 0.8214 GB, free: 69.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.048, allocations: 12.61 MB / 0.8338 GB, free: 56.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.048, allocations: 16 kB / 0.8338 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.05, allocations: 415.3 kB / 0.8342 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-05/1.05, allocations: 24 kB / 0.8342 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/1.05, allocations: 63.98 kB / 0.8342 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/1.05, allocations: 28.56 kB / 0.8343 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/1.05, allocations: 19.94 kB / 0.8343 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/1.054, allocations: 4.668 MB / 0.8389 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008932/1.055, allocations: 0.5075 MB / 0.8393 GB, free: 51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005314/1.056, allocations: 63.34 kB / 0.8394 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.057, allocations: 119.8 kB / 0.8395 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/1.057, allocations: 190.4 kB / 0.8397 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.057, allocations: 95.28 kB / 0.8398 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003881/1.061, allocations: 3.493 MB / 0.8432 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.061, allocations: 0 / 0.8432 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006153/1.067, allocations: 1.969 MB / 0.8451 GB, free: 45.11 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.00466/1.072, allocations: 5.343 MB / 0.8503 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008215/1.08, allocations: 7.009 MB / 0.8572 GB, free: 32.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.08, allocations: 0 / 0.8572 GB, free: 32.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.082, allocations: 1.872 MB / 0.859 GB, free: 30.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/1.085, allocations: 0.6188 MB / 0.8596 GB, free: 30.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08684/1.172, allocations: 68.35 MB / 0.9264 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007239/1.179, allocations: 5.419 MB / 0.9317 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008119/1.187, allocations: 3.543 MB / 0.9351 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004932/1.192, allocations: 3.319 MB / 0.9384 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/1.192, allocations: 0 / 0.9384 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3942/1.586, allocations: 95.4 MB / 1.032 GB, free: 217.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.94/29.53, allocations: 0 / 1.032 GB, free: 217.8 MB / 0.67 GB " [Timeout remaining time 630] (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: 33.146260662935674]