Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 77.47 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 62.44 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008378/0.131, allocations: 5.411 MB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1345, allocations: 1.795 MB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007921/0.1353, allocations: 19.94 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.1368, allocations: 0.5369 MB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.1392, allocations: 0.899 MB / 488.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1394, allocations: 15.92 kB / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.1415, allocations: 1.526 MB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.143, allocations: 0.7475 MB / 491.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.1442, allocations: 0.5135 MB / 491.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.1468, allocations: 1.613 MB / 493.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.1472, allocations: 91.94 kB / 493.3 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007838/0.148, allocations: 315.6 kB / 493.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008465/0.1489, allocations: 0.7011 MB / 494.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1502, allocations: 0.8728 MB / 495.2 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.1532, allocations: 2.636 MB / 497.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1532, allocations: 0 / 497.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1532, allocations: 4 kB / 497.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.1533, allocations: 0 / 497.8 MB, free: 3.441 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003977/0.1573, allocations: 2.042 MB / 499.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1574, allocations: 12.03 kB / 499.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006967/0.1581, allocations: 373.9 kB / 0.4885 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.1633, allocations: 1.499 MB / 0.49 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.1648, allocations: 0.8487 MB / 0.4908 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/0.1649, allocations: 102.2 kB / 0.4909 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.1653, allocations: 111.9 kB / 0.491 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007078/0.1724, allocations: 4.972 MB / 0.4959 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.1725, allocations: 23.81 kB / 0.4959 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.1728, allocations: 63.89 kB / 0.4959 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/0.1748, allocations: 1.189 MB / 0.4971 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007328/0.1822, allocations: 4.254 MB / 0.5013 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2355/0.4177, allocations: 20.55 MB / 0.5213 GB, free: 23.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.4192, allocations: 1.222 MB / 0.5225 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.4197, allocations: 386 kB / 0.5229 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.4197, allocations: 9.312 kB / 0.5229 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.4197, allocations: 37.09 kB / 0.5229 GB, free: 22.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.916e-06/0.4198, allocations: 1.094 kB / 0.5229 GB, free: 22.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.002319/0.4221, allocations: 1.149 MB / 0.5241 GB, free: 21.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.4222, allocations: 137 kB / 0.5242 GB, free: 21.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.4267, allocations: 2.427 MB / 0.5266 GB, free: 20.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4268, allocations: 33.59 kB / 0.5266 GB, free: 20.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.4279, allocations: 1.792 MB / 0.5283 GB, free: 19.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.4282, allocations: 307.3 kB / 0.5286 GB, free: 19.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.4293, allocations: 0.7855 MB / 0.5294 GB, free: 18.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4295, allocations: 353.1 kB / 0.5297 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.4316, allocations: 1.035 MB / 0.5307 GB, free: 18.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.4345, allocations: 3.69 MB / 0.5343 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00514/0.4397, allocations: 5.175 MB / 0.5394 GB, free: 9.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.218e-05/0.4398, allocations: 27.5 kB / 0.5394 GB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006113/0.4459, allocations: 4.441 MB / 0.5438 GB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.4459, allocations: 46.53 kB / 0.5438 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.609e-05/0.446, allocations: 95.91 kB / 0.5439 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.811e-05/0.4461, allocations: 122.1 kB / 0.544 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.4479, allocations: 0.8696 MB / 0.5449 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-05/0.448, allocations: 192 kB / 0.545 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.4503, allocations: 0.5468 MB / 0.5456 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.4506, allocations: 255.2 kB / 0.5458 GB, free: 6.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001317/0.4519, allocations: 1.185 MB / 0.547 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.4521, allocations: 191.4 kB / 0.5472 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.4524, allocations: 223.1 kB / 0.5474 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/0.4525, allocations: 19.94 kB / 0.5474 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.4525, allocations: 0 / 0.5474 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4525, allocations: 3.984 kB / 0.5474 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.4553, allocations: 2.074 MB / 0.5494 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4553, allocations: 0 / 0.5494 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.4555, allocations: 63.91 kB / 0.5495 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4556, allocations: 8.031 kB / 0.5495 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.4556, allocations: 11.94 kB / 0.5495 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4556, allocations: 3.984 kB / 0.5495 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4556, allocations: 4 kB / 0.5495 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.4565, allocations: 1.183 MB / 0.5507 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.4567, allocations: 250.5 kB / 0.5509 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4569, allocations: 11.94 kB / 0.5509 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.4574, allocations: 19.89 kB / 0.5509 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.4574, allocations: 29.02 kB / 0.551 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.4575, allocations: 20 kB / 0.551 GB, free: 2.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.4588, allocations: 1.494 MB / 0.5524 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4588, allocations: 0 / 0.5524 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002453/0.4613, allocations: 0.5218 MB / 0.553 GB, free: 15.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.001561/0.4629, allocations: 1.805 MB / 0.5547 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.4666, allocations: 2.451 MB / 0.5571 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4666, allocations: 0 / 0.5571 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.467, allocations: 375.7 kB / 0.5575 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4681, allocations: 167.2 kB / 0.5576 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/0.4993, allocations: 24.39 MB / 0.5814 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.5016, allocations: 1.861 MB / 0.5833 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002767/0.5044, allocations: 1.255 MB / 0.5845 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.5054, allocations: 0.7883 MB / 0.5853 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5055, allocations: 0 / 0.5853 GB, free: 10.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.5622, allocations: 30.64 MB / 0.6152 GB, free: 12.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.662, allocations: 12.88 kB / 0.6152 GB, free: 12.32 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches