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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001552/0.001552, allocations: 208 kB / 23.73 MB, free: 4.391 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.24/0.24, allocations: 46.93 MB / 360.8 MB, free: 3.941 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 75.88 kB / 0.4961 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2855, allocations: 66.09 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006601/0.2921, allocations: 4.842 MB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2954, allocations: 1.698 MB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.2958, allocations: 27.88 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.297, allocations: 0.5253 MB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.299, allocations: 0.9263 MB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.2991, allocations: 19.86 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.3011, allocations: 1.518 MB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009404/0.302, allocations: 0.7438 MB / 0.5707 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006666/0.3027, allocations: 0.5252 MB / 0.5712 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.3048, allocations: 1.691 MB / 0.5729 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.305, allocations: 88 kB / 0.573 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.3056, allocations: 231.6 kB / 0.5732 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007711/0.3063, allocations: 0.7164 MB / 0.5739 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.3072, allocations: 0.5931 MB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.3102, allocations: 2.815 MB / 0.5772 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3103, allocations: 7.938 kB / 0.5772 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3103, allocations: 0 / 0.5772 GB, free: 3.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.338e-05/0.3103, allocations: 0 / 0.5772 GB, free: 3.012 MB / 414.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.00311/0.3134, allocations: 2.026 MB / 0.5792 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3135, allocations: 8.031 kB / 0.5792 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004363/0.3139, allocations: 373.9 kB / 0.5796 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.319, allocations: 1.516 MB / 0.5811 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.3211, allocations: 0.8004 MB / 0.5818 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.3212, allocations: 94.16 kB / 0.5819 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.3215, allocations: 107.9 kB / 0.582 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00762/0.3291, allocations: 4.976 MB / 0.5869 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/0.3292, allocations: 31.75 kB / 0.5869 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.3294, allocations: 59.91 kB / 0.587 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00222/0.3316, allocations: 1.181 MB / 0.5881 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007049/0.3386, allocations: 4.25 MB / 0.5923 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.3591, allocations: 19.79 MB / 0.6116 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3603, allocations: 0.7292 MB / 0.6123 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.3607, allocations: 353.3 kB / 0.6127 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3607, allocations: 8 kB / 0.6127 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.3608, allocations: 42.48 kB / 0.6127 GB, free: 13.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.785e-06/0.3608, allocations: 3.938 kB / 0.6127 GB, free: 13.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001655/0.3624, allocations: 1.147 MB / 0.6138 GB, free: 12.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.3625, allocations: 140.4 kB / 0.614 GB, free: 11.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.3656, allocations: 2.595 MB / 0.6165 GB, free: 9.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.3657, allocations: 33.69 kB / 0.6165 GB, free: 9.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.3671, allocations: 1.866 MB / 0.6184 GB, free: 7.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.3674, allocations: 321.8 kB / 0.6187 GB, free: 7.109 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009485/0.3683, allocations: 0.7978 MB / 0.6194 GB, free: 6.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3685, allocations: 350 kB / 0.6198 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.37, allocations: 1.034 MB / 0.6208 GB, free: 4.922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/0.3734, allocations: 3.687 MB / 0.6244 GB, free: 15.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005486/0.3789, allocations: 5.16 MB / 0.6294 GB, free: 9.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.268e-05/0.379, allocations: 28 kB / 0.6295 GB, free: 9.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006756/0.3857, allocations: 4.455 MB / 0.6338 GB, free: 4.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.3858, allocations: 51.94 kB / 0.6339 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.3859, allocations: 96 kB / 0.6339 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.3861, allocations: 128.6 kB / 0.6341 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/0.3887, allocations: 0.8655 MB / 0.6349 GB, free: 3.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000219/0.3889, allocations: 187.2 kB / 0.6351 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.3921, allocations: 0.57 MB / 0.6356 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.3926, allocations: 251.9 kB / 0.6359 GB, free: 2.781 MB / 478.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.001735/0.3943, allocations: 1.18 MB / 0.637 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.3947, allocations: 210.5 kB / 0.6372 GB, free: 1.383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.3951, allocations: 225.8 kB / 0.6375 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.3951, allocations: 19.98 kB / 0.6375 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3952, allocations: 4 kB / 0.6375 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.3952, allocations: 0 / 0.6375 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.399, allocations: 1.955 MB / 0.6394 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.399, allocations: 0 / 0.6394 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.3993, allocations: 63.91 kB / 0.6394 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.3993, allocations: 4 kB / 0.6395 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.3994, allocations: 11.98 kB / 0.6395 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3994, allocations: 0 / 0.6395 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3994, allocations: 7.938 kB / 0.6395 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.4009, allocations: 1.201 MB / 0.6406 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.4013, allocations: 186.5 kB / 0.6408 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.4014, allocations: 4 kB / 0.6408 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.4019, allocations: 19.97 kB / 0.6408 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.402, allocations: 31.89 kB / 0.6409 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.402, allocations: 24 kB / 0.6409 GB, free: 13.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002263/0.4043, allocations: 1.486 MB / 0.6424 GB, free: 12.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4043, allocations: 0 / 0.6424 GB, free: 12.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002566/0.4069, allocations: 0.5225 MB / 0.6429 GB, free: 11.53 MB / 494.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.001947/0.4088, allocations: 1.804 MB / 0.6446 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.4127, allocations: 2.268 MB / 0.6468 GB, free: 7.453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4127, allocations: 0 / 0.6468 GB, free: 7.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.4132, allocations: 340 kB / 0.6472 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4144, allocations: 175.4 kB / 0.6473 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/0.448, allocations: 23.09 MB / 0.6699 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.4501, allocations: 1.283 MB / 0.6711 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002778/0.4528, allocations: 1.255 MB / 0.6724 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.454, allocations: 0.7844 MB / 0.6731 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of SimCode: time 8.81e-07/0.454, allocations: 0 / 0.6731 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/0.6093, allocations: 29.5 MB / 0.7019 GB, free: 11.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.03, allocations: 7.156 kB / 0.7019 GB, free: 11.91 MB / 0.545 GB " [Timeout remaining time 646] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.192568270023912]