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.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001508/0.001508, allocations: 211.6 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2356/0.2356, allocations: 46.96 MB / 360.9 MB, free: 4.008 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.002101/0.002101, allocations: 68.09 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007293/0.3115, allocations: 4.856 MB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3151, allocations: 1.69 MB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.3156, allocations: 23.94 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.317, allocations: 0.533 MB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.3192, allocations: 0.9302 MB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.3193, allocations: 11.98 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.3213, allocations: 1.526 MB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009376/0.3222, allocations: 0.7476 MB / 0.5706 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.323, allocations: 0.5291 MB / 0.5712 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.3251, allocations: 1.683 MB / 0.5728 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.3254, allocations: 88 kB / 0.5729 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.3259, allocations: 231.6 kB / 0.5731 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006814/0.3266, allocations: 0.7164 MB / 0.5738 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.3273, allocations: 0.6009 MB / 0.5744 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.3306, allocations: 2.804 MB / 0.5771 GB, free: 3.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3306, allocations: 4 kB / 0.5771 GB, free: 3.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3306, allocations: 3.938 kB / 0.5771 GB, free: 3.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.997e-05/0.3306, allocations: 3.938 kB / 0.5771 GB, free: 3.188 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.003164/0.3338, allocations: 2.026 MB / 0.5791 GB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3338, allocations: 8.031 kB / 0.5791 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004365/0.3343, allocations: 373.9 kB / 0.5795 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/0.3394, allocations: 1.516 MB / 0.581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.3414, allocations: 0.8042 MB / 0.5818 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.3415, allocations: 90.22 kB / 0.5818 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.3417, allocations: 111.9 kB / 0.5819 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007217/0.3489, allocations: 4.976 MB / 0.5868 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/0.349, allocations: 23.75 kB / 0.5868 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3492, allocations: 63.91 kB / 0.5869 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.3512, allocations: 1.181 MB / 0.588 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007291/0.3585, allocations: 4.25 MB / 0.5922 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.3811, allocations: 19.8 MB / 0.6115 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3824, allocations: 0.7291 MB / 0.6122 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.3829, allocations: 351.2 kB / 0.6126 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3829, allocations: 8 kB / 0.6126 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.383, allocations: 42.5 kB / 0.6126 GB, free: 13.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.786e-06/0.383, allocations: 0 / 0.6126 GB, free: 13.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00188/0.3849, allocations: 1.149 MB / 0.6138 GB, free: 12.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.385, allocations: 136.5 kB / 0.6139 GB, free: 12.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/0.3886, allocations: 2.596 MB / 0.6164 GB, free: 9.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.3886, allocations: 37.7 kB / 0.6165 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.3902, allocations: 1.87 MB / 0.6183 GB, free: 7.594 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.3906, allocations: 313.8 kB / 0.6186 GB, free: 7.285 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.3916, allocations: 0.7978 MB / 0.6194 GB, free: 6.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3918, allocations: 357.9 kB / 0.6197 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.3934, allocations: 1.034 MB / 0.6207 GB, free: 5.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003874/0.3973, allocations: 3.683 MB / 0.6243 GB, free: 80 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/0.4035, allocations: 5.167 MB / 0.6293 GB, free: 9.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-05/0.4036, allocations: 28 kB / 0.6294 GB, free: 9.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008044/0.4116, allocations: 4.451 MB / 0.6337 GB, free: 5.094 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.4117, allocations: 51.98 kB / 0.6338 GB, free: 5.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.4118, allocations: 92.09 kB / 0.6339 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.412, allocations: 131.9 kB / 0.634 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.4145, allocations: 0.8655 MB / 0.6348 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001761/0.4146, allocations: 187.2 kB / 0.635 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.4172, allocations: 0.5661 MB / 0.6356 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/0.4177, allocations: 255.9 kB / 0.6358 GB, free: 2.957 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.001955/0.4197, allocations: 1.177 MB / 0.637 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.4201, allocations: 206.5 kB / 0.6372 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.4204, allocations: 217.8 kB / 0.6374 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/0.4205, allocations: 23.98 kB / 0.6374 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4205, allocations: 0 / 0.6374 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4205, allocations: 4 kB / 0.6374 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.4243, allocations: 1.961 MB / 0.6393 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4243, allocations: 0 / 0.6393 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.4247, allocations: 63.91 kB / 0.6394 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4247, allocations: 0 / 0.6394 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.4247, allocations: 15.98 kB / 0.6394 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4247, allocations: 0 / 0.6394 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4247, allocations: 3.938 kB / 0.6394 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.4261, allocations: 1.212 MB / 0.6406 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.4265, allocations: 182.5 kB / 0.6407 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.4266, allocations: 12 kB / 0.6408 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.4271, allocations: 19.97 kB / 0.6408 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.4272, allocations: 27.89 kB / 0.6408 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.4273, allocations: 23.98 kB / 0.6408 GB, free: 13.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002288/0.4295, allocations: 1.49 MB / 0.6423 GB, free: 12.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4295, allocations: 0 / 0.6423 GB, free: 12.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002724/0.4323, allocations: 0.5225 MB / 0.6428 GB, free: 11.71 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.001952/0.4342, allocations: 1.802 MB / 0.6445 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.4382, allocations: 2.265 MB / 0.6468 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4382, allocations: 0 / 0.6468 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.4386, allocations: 335.6 kB / 0.6471 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.4399, allocations: 174.9 kB / 0.6472 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/0.4749, allocations: 23.09 MB / 0.6698 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.477, allocations: 1.275 MB / 0.671 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002867/0.4799, allocations: 1.255 MB / 0.6723 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.4812, allocations: 0.7922 MB / 0.673 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/0.4812, allocations: 0 / 0.673 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07002/0.5512, allocations: 29.5 MB / 0.7018 GB, free: 12.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.55, allocations: 10.58 kB / 0.7018 GB, free: 12.16 MB / 0.545 GB " [Timeout remaining time 646] (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.661305544897914]