Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008293/0.0008293, allocations: 83.69 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.00104/0.00104, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9429/0.9429, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2639/0.2639, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 439.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.649e-05, allocations: 4.109 kB / 439.5 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.1885/0.1886, allocations: 4.862 MB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1912, allocations: 1.71 MB / 446.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.1917, allocations: 23.16 kB / 446.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009444/0.1926, allocations: 0.5433 MB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.1939, allocations: 0.9502 MB / 447.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.142e-05/0.1939, allocations: 17.75 kB / 447.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1955, allocations: 2.596 MB / 450.2 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008226/0.1964, allocations: 1.055 MB / 451.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008144/0.1972, allocations: 0.8657 MB / 452.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/0.1981, allocations: 1.023 MB / 453.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.1982, allocations: 88.31 kB / 453.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.1987, allocations: 261.8 kB / 453.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.1991, allocations: 0.7391 MB / 454.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.1994, allocations: 428.2 kB / 454.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.2009, allocations: 2.709 MB / 457.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2009, allocations: 3.938 kB / 457.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2009, allocations: 0 / 457.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.201, allocations: 0 / 457.4 MB, free: 39.73 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.001968/0.2029, allocations: 2.001 MB / 459.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.203, allocations: 16.44 kB / 459.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.2032, allocations: 373 kB / 459.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.2056, allocations: 1.522 MB / 461.3 MB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.2065, allocations: 0.8101 MB / 462.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.2065, allocations: 89.09 kB / 462.2 MB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.2066, allocations: 105.3 kB / 462.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.2098, allocations: 4.98 MB / 467.3 MB, free: 34.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.2098, allocations: 28.66 kB / 467.3 MB, free: 34.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.2099, allocations: 61.12 kB / 467.4 MB, free: 34.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009264/0.2109, allocations: 1.177 MB / 468.6 MB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.2147, allocations: 4.255 MB / 472.8 MB, free: 33.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.2263, allocations: 19.81 MB / 492.6 MB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.2272, allocations: 0.7249 MB / 493.3 MB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.2275, allocations: 347.3 kB / 493.7 MB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2275, allocations: 5.656 kB / 493.7 MB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2276, allocations: 42.39 kB / 493.7 MB, free: 16.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.504e-06/0.2276, allocations: 0.9375 kB / 493.7 MB, free: 16.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001274/0.2288, allocations: 1.162 MB / 494.9 MB, free: 16.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2289, allocations: 142.4 kB / 495 MB, free: 16.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.2314, allocations: 2.588 MB / 497.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2315, allocations: 35.11 kB / 497.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007575/0.2322, allocations: 1.846 MB / 499.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2324, allocations: 307.8 kB / 499.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006645/0.2331, allocations: 0.7845 MB / 0.4888 GB, free: 13.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.2332, allocations: 354.4 kB / 0.4892 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.2343, allocations: 1.03 MB / 0.4902 GB, free: 12.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.2363, allocations: 3.687 MB / 0.4938 GB, free: 8.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/0.24, allocations: 5.162 MB / 0.4988 GB, free: 3.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.164e-05/0.2401, allocations: 27.53 kB / 0.4989 GB, free: 3.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005715/0.2458, allocations: 4.462 MB / 0.5032 GB, free: 2.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.2458, allocations: 49 kB / 0.5033 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-05/0.2459, allocations: 98.84 kB / 0.5034 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/0.246, allocations: 123.4 kB / 0.5035 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.2475, allocations: 0.8658 MB / 0.5043 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/0.2477, allocations: 187.6 kB / 0.5045 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.2498, allocations: 0.5626 MB / 0.5051 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/0.25, allocations: 255.4 kB / 0.5053 GB, free: 1.438 MB / 410.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.001344/0.2514, allocations: 1.199 MB / 0.5065 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.2516, allocations: 195.3 kB / 0.5067 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.2518, allocations: 221.8 kB / 0.5069 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/0.2519, allocations: 22.05 kB / 0.5069 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.2519, allocations: 0 / 0.5069 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2519, allocations: 2.203 kB / 0.5069 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.2549, allocations: 1.976 MB / 0.5088 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2549, allocations: 0 / 0.5088 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.2551, allocations: 66.11 kB / 0.5089 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2551, allocations: 9.375 kB / 0.5089 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.2551, allocations: 13.34 kB / 0.5089 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2551, allocations: 0 / 0.5089 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2551, allocations: 4.844 kB / 0.5089 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.256, allocations: 1.201 MB / 0.5101 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.2563, allocations: 184.2 kB / 0.5103 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.2563, allocations: 4.656 kB / 0.5103 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.2566, allocations: 17.95 kB / 0.5103 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.2567, allocations: 27.62 kB / 0.5103 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.2567, allocations: 21.5 kB / 0.5103 GB, free: 12.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001566/0.2583, allocations: 1.494 MB / 0.5118 GB, free: 11.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2583, allocations: 4 kB / 0.5118 GB, free: 11.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003638/0.2619, allocations: 0.5269 MB / 0.5123 GB, free: 11.01 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.001778/0.2637, allocations: 1.803 MB / 0.5141 GB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.2676, allocations: 2.261 MB / 0.5163 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2676, allocations: 0 / 0.5163 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.2679, allocations: 335.3 kB / 0.5166 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.2688, allocations: 174.5 kB / 0.5168 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/0.2943, allocations: 22.93 MB / 0.5391 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.2955, allocations: 1.279 MB / 0.5404 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001803/0.2973, allocations: 1.247 MB / 0.5416 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/0.2981, allocations: 0.7932 MB / 0.5424 GB, free: 9.398 MB / 458.7 MB Notification: Performance of SimCode: time 2.464e-06/0.2981, allocations: 4 kB / 0.5424 GB, free: 9.395 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.3456, allocations: 29.56 MB / 0.5713 GB, free: 12.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.966, allocations: 12.48 kB / 0.5713 GB, free: 12.25 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.102231520228088]