Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 119.4 kB / 17.79 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 216.2 kB / 20.75 MB, free: 2.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2451/0.2451, allocations: 46.93 MB / 357.1 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 0.4909 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1256, allocations: 65.99 MB / 0.5553 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007675/0.1332, allocations: 5.421 MB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.1374, allocations: 1.819 MB / 0.5624 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.138, allocations: 23.94 kB / 0.5624 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1395, allocations: 0.5407 MB / 0.563 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.1419, allocations: 0.9302 MB / 0.5639 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1421, allocations: 11.94 kB / 0.5639 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.1442, allocations: 1.526 MB / 0.5654 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.1452, allocations: 0.6682 MB / 0.566 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007599/0.1459, allocations: 0.5369 MB / 0.5666 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.148, allocations: 1.703 MB / 0.5682 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.1483, allocations: 92 kB / 0.5683 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.1489, allocations: 323.5 kB / 0.5686 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000686/0.1496, allocations: 0.7164 MB / 0.5693 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008353/0.1504, allocations: 0.8729 MB / 0.5702 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.1535, allocations: 2.804 MB / 0.5729 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1535, allocations: 0 / 0.5729 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1535, allocations: 0 / 0.5729 GB, free: 3.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.319e-05/0.1535, allocations: 0 / 0.5729 GB, free: 3.738 MB / 430.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.003178/0.1567, allocations: 2.111 MB / 0.575 GB, free: 1.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1568, allocations: 8.031 kB / 0.575 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004618/0.1572, allocations: 381.8 kB / 0.5753 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/0.1625, allocations: 1.509 MB / 0.5768 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.164, allocations: 0.8491 MB / 0.5776 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.1641, allocations: 90.2 kB / 0.5777 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.1644, allocations: 111.9 kB / 0.5778 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006793/0.1712, allocations: 4.972 MB / 0.5827 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.1712, allocations: 27.75 kB / 0.5827 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.1714, allocations: 59.89 kB / 0.5828 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/0.1735, allocations: 1.185 MB / 0.5839 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.1807, allocations: 4.258 MB / 0.5881 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2815/0.4622, allocations: 20.54 MB / 0.6081 GB, free: 17.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.4635, allocations: 1.179 MB / 0.6093 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.464, allocations: 351.9 kB / 0.6096 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.464, allocations: 8 kB / 0.6096 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.4641, allocations: 44.48 kB / 0.6097 GB, free: 16.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.4641, allocations: 0.8125 kB / 0.6097 GB, free: 16.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.00195/0.466, allocations: 1.16 MB / 0.6108 GB, free: 16.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4661, allocations: 139.8 kB / 0.611 GB, free: 15.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.4694, allocations: 2.43 MB / 0.6133 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.4694, allocations: 35.05 kB / 0.6134 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/0.4704, allocations: 1.874 MB / 0.6152 GB, free: 13.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.4706, allocations: 314.8 kB / 0.6155 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.4717, allocations: 0.7964 MB / 0.6163 GB, free: 13.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4718, allocations: 353 kB / 0.6166 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.4734, allocations: 1.03 MB / 0.6176 GB, free: 12.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.4761, allocations: 3.694 MB / 0.6212 GB, free: 8.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004712/0.4808, allocations: 5.161 MB / 0.6263 GB, free: 3.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.4809, allocations: 28.03 kB / 0.6263 GB, free: 3.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007756/0.4886, allocations: 4.454 MB / 0.6306 GB, free: 1.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.4887, allocations: 47.75 kB / 0.6307 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.4888, allocations: 98.16 kB / 0.6308 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.489, allocations: 123.4 kB / 0.6309 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.4911, allocations: 0.8679 MB / 0.6317 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001255/0.4912, allocations: 190 kB / 0.6319 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.4938, allocations: 0.5616 MB / 0.6325 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/0.4941, allocations: 256.1 kB / 0.6327 GB, free: 1.422 MB / 446.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.001423/0.4956, allocations: 1.202 MB / 0.6339 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.4958, allocations: 197 kB / 0.6341 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.4961, allocations: 222.6 kB / 0.6343 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.4961, allocations: 15.47 kB / 0.6343 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4962, allocations: 0 / 0.6343 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4962, allocations: 3.891 kB / 0.6343 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.4993, allocations: 2.073 MB / 0.6363 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4993, allocations: 0 / 0.6363 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.4996, allocations: 71.5 kB / 0.6364 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.4996, allocations: 0 / 0.6364 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.4996, allocations: 11.62 kB / 0.6364 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4996, allocations: 0 / 0.6364 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4996, allocations: 5.578 kB / 0.6364 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.5008, allocations: 1.206 MB / 0.6376 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.5012, allocations: 261 kB / 0.6378 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.5014, allocations: 12.59 kB / 0.6379 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.5018, allocations: 15.2 kB / 0.6379 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.5019, allocations: 20.89 kB / 0.6379 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.502, allocations: 26.19 kB / 0.6379 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001997/0.504, allocations: 1.49 MB / 0.6394 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.504, allocations: 0 / 0.6394 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00288/0.5068, allocations: 0.5259 MB / 0.6399 GB, free: 14.04 MB / 462.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.002015/0.5089, allocations: 1.803 MB / 0.6416 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.5129, allocations: 2.269 MB / 0.6439 GB, free: 9.969 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5129, allocations: 4.062 kB / 0.6439 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.5133, allocations: 332.1 kB / 0.6442 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5145, allocations: 171.1 kB / 0.6443 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03194/0.5465, allocations: 23.08 MB / 0.6669 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.5483, allocations: 1.863 MB / 0.6687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002721/0.5511, allocations: 1.251 MB / 0.6699 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.5522, allocations: 0.7844 MB / 0.6707 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5522, allocations: 0 / 0.6707 GB, free: 11.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.6211, allocations: 30.13 MB / 0.7001 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.37, allocations: 10.39 kB / 0.7001 GB, free: 13.12 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 16.69236138719134]