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.001404/0.001404, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001485/0.001485, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.2556/0.2556, allocations: 46.94 MB / 361.6 MB, free: 3.934 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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003733/0.003733, allocations: 75.88 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3773, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007107/0.3844, allocations: 4.849 MB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.3884, allocations: 1.69 MB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005387/0.3889, allocations: 23.94 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.3902, allocations: 0.533 MB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.3924, allocations: 0.9263 MB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.3925, allocations: 12 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.3944, allocations: 1.526 MB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009685/0.3954, allocations: 0.7494 MB / 0.572 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.396, allocations: 0.5291 MB / 0.5725 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.3982, allocations: 1.68 MB / 0.5741 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.3985, allocations: 92 kB / 0.5742 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.3991, allocations: 227.6 kB / 0.5744 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007134/0.3998, allocations: 0.7164 MB / 0.5751 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006699/0.4005, allocations: 0.597 MB / 0.5757 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.4037, allocations: 2.81 MB / 0.5785 GB, free: 2.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4037, allocations: 0 / 0.5785 GB, free: 2.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4037, allocations: 0 / 0.5785 GB, free: 2.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.78e-05/0.4038, allocations: 0 / 0.5785 GB, free: 2.938 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.00335/0.4071, allocations: 2.03 MB / 0.5804 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4072, allocations: 12.03 kB / 0.5804 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/0.4124, allocations: 1.512 MB / 0.5819 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.4146, allocations: 0.8005 MB / 0.5827 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/0.4147, allocations: 86.47 kB / 0.5828 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.4149, allocations: 111.8 kB / 0.5829 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007055/0.422, allocations: 4.976 MB / 0.5878 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.422, allocations: 23.75 kB / 0.5878 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.4222, allocations: 63.91 kB / 0.5878 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002003/0.4242, allocations: 1.178 MB / 0.589 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007279/0.4315, allocations: 4.262 MB / 0.5931 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.4537, allocations: 19.38 MB / 0.6121 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.455, allocations: 0.7253 MB / 0.6128 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.4555, allocations: 345.3 kB / 0.6131 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4555, allocations: 11.92 kB / 0.6131 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.4556, allocations: 50.23 kB / 0.6132 GB, free: 14.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.406e-06/0.4556, allocations: 0 / 0.6132 GB, free: 14.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00176/0.4573, allocations: 1.131 MB / 0.6143 GB, free: 12.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.4574, allocations: 132.5 kB / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.4603, allocations: 2.321 MB / 0.6167 GB, free: 10.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.4603, allocations: 33.64 kB / 0.6167 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.4618, allocations: 1.897 MB / 0.6185 GB, free: 8.418 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.4621, allocations: 309.8 kB / 0.6188 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009796/0.4631, allocations: 0.7979 MB / 0.6196 GB, free: 7.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4632, allocations: 334 kB / 0.6199 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.4647, allocations: 1.026 MB / 0.6209 GB, free: 5.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/0.4685, allocations: 3.687 MB / 0.6245 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006111/0.4746, allocations: 5.158 MB / 0.6296 GB, free: 10.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-05/0.4747, allocations: 28 kB / 0.6296 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007257/0.482, allocations: 4.452 MB / 0.634 GB, free: 5.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/0.482, allocations: 44.56 kB / 0.634 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.4822, allocations: 96 kB / 0.6341 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.4823, allocations: 124 kB / 0.6342 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.4846, allocations: 0.8655 MB / 0.6351 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001537/0.4847, allocations: 191.2 kB / 0.6352 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.4871, allocations: 0.5312 MB / 0.6358 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.4874, allocations: 264.2 kB / 0.636 GB, free: 3.852 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.00157/0.4889, allocations: 1.184 MB / 0.6372 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.4892, allocations: 178.8 kB / 0.6373 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.4895, allocations: 195.9 kB / 0.6375 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-05/0.4896, allocations: 16 kB / 0.6375 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4896, allocations: 4 kB / 0.6375 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4896, allocations: 11.92 kB / 0.6376 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.4928, allocations: 1.646 MB / 0.6392 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4928, allocations: 0 / 0.6392 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.493, allocations: 63.89 kB / 0.6392 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.493, allocations: 4 kB / 0.6392 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.4931, allocations: 8 kB / 0.6392 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.4931, allocations: 4 kB / 0.6392 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4931, allocations: 0 / 0.6392 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4944, allocations: 1.188 MB / 0.6404 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.4947, allocations: 158.7 kB / 0.6405 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.4948, allocations: 4.047 kB / 0.6405 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.4952, allocations: 19.97 kB / 0.6406 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.4953, allocations: 31.89 kB / 0.6406 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.4954, allocations: 23.98 kB / 0.6406 GB, free: 15.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001669/0.497, allocations: 1.296 MB / 0.6419 GB, free: 13.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.497, allocations: 0 / 0.6419 GB, free: 13.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002628/0.4997, allocations: 0.5457 MB / 0.6424 GB, free: 13.18 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.0002849/0.4999, allocations: 127 kB / 0.6425 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.5035, allocations: 2.257 MB / 0.6447 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5035, allocations: 0 / 0.6447 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.5039, allocations: 335.7 kB / 0.6451 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5049, allocations: 158.5 kB / 0.6452 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006769/0.5117, allocations: 4.286 MB / 0.6494 GB, free: 5.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.5133, allocations: 1.283 MB / 0.6507 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.5137, allocations: 163.4 kB / 0.6508 GB, free: 4.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5137, allocations: 0 / 0.6508 GB, free: 4.5 MB / 494.1 MB Notification: Performance of Templates: time 0.04661/0.5603, allocations: 27.77 MB / 0.6779 GB, free: 8.773 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] 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: 9.695093056187034]