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.0008362/0.0008362, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009005/0.0009005, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9638/0.9638, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2978/0.2978, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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 1.553e-06/1.553e-06, allocations: 0 / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.352e-05, allocations: 2.281 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.201/0.2011, allocations: 4.856 MB / 447 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2031, allocations: 1.691 MB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.2033, allocations: 24.44 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.2041, allocations: 0.5513 MB / 449.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.2054, allocations: 0.9487 MB / 450.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.415e-05/0.2055, allocations: 20.77 kB / 450.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.207, allocations: 2.601 MB / 452.8 MB, free: 39.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.2076, allocations: 1.043 MB / 453.9 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.2083, allocations: 0.876 MB / 454.8 MB, free: 38.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.2089, allocations: 1.012 MB / 455.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.171e-05/0.209, allocations: 94.53 kB / 455.9 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.2093, allocations: 262 kB / 456.1 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.2096, allocations: 0.7342 MB / 456.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.2098, allocations: 433.8 kB / 457.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.2113, allocations: 2.706 MB / 460 MB, free: 37.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2113, allocations: 0 / 460 MB, free: 37.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2113, allocations: 0 / 460 MB, free: 37.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.2113, allocations: 0 / 460 MB, free: 37.05 MB / 410.7 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.001503/0.2128, allocations: 1.999 MB / 462 MB, free: 35.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2129, allocations: 21.03 kB / 462 MB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.2131, allocations: 377.4 kB / 462.4 MB, free: 35.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.2155, allocations: 1.524 MB / 463.9 MB, free: 35.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.2167, allocations: 0.8089 MB / 464.7 MB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.2167, allocations: 84.41 kB / 464.8 MB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.2169, allocations: 108.9 kB / 464.9 MB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.2204, allocations: 4.979 MB / 469.9 MB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.2204, allocations: 25.16 kB / 469.9 MB, free: 32.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.2205, allocations: 60.97 kB / 470 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008791/0.2214, allocations: 1.187 MB / 471.1 MB, free: 31.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003642/0.225, allocations: 4.247 MB / 475.4 MB, free: 30.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.2367, allocations: 19.82 MB / 495.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008786/0.2375, allocations: 0.7224 MB / 495.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.2378, allocations: 344.9 kB / 496.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2379, allocations: 8.656 kB / 496.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2379, allocations: 43.23 kB / 496.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.188e-06/0.2379, allocations: 0 / 496.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001229/0.2391, allocations: 1.158 MB / 497.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2392, allocations: 133.2 kB / 497.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.2416, allocations: 2.59 MB / 0.4885 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2416, allocations: 35.73 kB / 0.4885 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/0.2424, allocations: 1.852 MB / 0.4903 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.2425, allocations: 310.7 kB / 0.4906 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006806/0.2432, allocations: 0.7777 MB / 0.4914 GB, free: 10.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.2433, allocations: 352.9 kB / 0.4917 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.2444, allocations: 1.04 MB / 0.4927 GB, free: 9.789 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.2463, allocations: 3.687 MB / 0.4963 GB, free: 5.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.25, allocations: 5.159 MB / 0.5014 GB, free: 1.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.975e-05/0.25, allocations: 28.06 kB / 0.5014 GB, free: 1.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005647/0.2557, allocations: 4.458 MB / 0.5057 GB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.2557, allocations: 48.97 kB / 0.5058 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.804e-05/0.2558, allocations: 103.4 kB / 0.5059 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.2559, allocations: 123.8 kB / 0.506 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.2573, allocations: 0.8667 MB / 0.5069 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.2574, allocations: 184.2 kB / 0.507 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.2594, allocations: 0.5719 MB / 0.5076 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.2596, allocations: 251.1 kB / 0.5078 GB, free: 13.71 MB / 426.7 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.001298/0.2609, allocations: 1.191 MB / 0.509 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2611, allocations: 195.4 kB / 0.5092 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.2613, allocations: 225.7 kB / 0.5094 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/0.2613, allocations: 17.36 kB / 0.5094 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.2613, allocations: 0.7031 kB / 0.5094 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2613, allocations: 6.062 kB / 0.5094 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.2641, allocations: 1.978 MB / 0.5113 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2641, allocations: 4 kB / 0.5113 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2643, allocations: 65.02 kB / 0.5114 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2643, allocations: 8.516 kB / 0.5114 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2643, allocations: 9.5 kB / 0.5114 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2643, allocations: 7.938 kB / 0.5114 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2643, allocations: 0 / 0.5114 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.2651, allocations: 1.202 MB / 0.5126 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.2654, allocations: 184.1 kB / 0.5128 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.2654, allocations: 8.844 kB / 0.5128 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.2657, allocations: 21.47 kB / 0.5128 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.2658, allocations: 24.38 kB / 0.5128 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.2658, allocations: 20.89 kB / 0.5129 GB, free: 9.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.2673, allocations: 1.491 MB / 0.5143 GB, free: 7.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2673, allocations: 4 kB / 0.5143 GB, free: 7.816 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00197/0.2693, allocations: 0.5308 MB / 0.5148 GB, free: 7.285 MB / 426.7 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.001174/0.2704, allocations: 1.799 MB / 0.5166 GB, free: 5.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.2731, allocations: 2.256 MB / 0.5188 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2731, allocations: 0 / 0.5188 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.2734, allocations: 343.2 kB / 0.5191 GB, free: 3.262 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.2741, allocations: 174.8 kB / 0.5193 GB, free: 3.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.2983, allocations: 22.92 MB / 0.5417 GB, free: 8.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.2995, allocations: 1.282 MB / 0.5429 GB, free: 7.465 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001715/0.3012, allocations: 1.251 MB / 0.5441 GB, free: 6.207 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/0.3019, allocations: 0.7854 MB / 0.5449 GB, free: 5.418 MB / 458.7 MB Notification: Performance of SimCode: time 2.204e-06/0.3019, allocations: 0 / 0.5449 GB, free: 5.418 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.3491, allocations: 29.57 MB / 0.5738 GB, free: 8.262 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.289, allocations: 4 kB / 0.5738 GB, free: 8.258 MB / 490.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/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: 10.485455525107682]