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.001306/0.001306, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001462/0.001462, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2311/0.2311, allocations: 46.98 MB / 361.6 MB, free: 4.047 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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2983, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006639/0.3049, allocations: 4.852 MB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.3083, allocations: 1.702 MB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.3087, allocations: 23.94 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.31, allocations: 0.5291 MB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.312, allocations: 0.9301 MB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001/0.3121, allocations: 11.98 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.3137, allocations: 1.522 MB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009124/0.3147, allocations: 0.7446 MB / 0.5719 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006748/0.3153, allocations: 0.5213 MB / 0.5724 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.3174, allocations: 1.715 MB / 0.574 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.3176, allocations: 88 kB / 0.5741 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.3181, allocations: 227.7 kB / 0.5744 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.3187, allocations: 0.7242 MB / 0.5751 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005719/0.3193, allocations: 0.5892 MB / 0.5756 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.3221, allocations: 2.815 MB / 0.5784 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3221, allocations: 0 / 0.5784 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3221, allocations: 0 / 0.5784 GB, free: 3.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.3221, allocations: 0 / 0.5784 GB, free: 3.137 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.002871/0.325, allocations: 2.03 MB / 0.5804 GB, free: 1.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.325, allocations: 8.031 kB / 0.5804 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.3301, allocations: 1.513 MB / 0.5818 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.3319, allocations: 0.7965 MB / 0.5826 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.332, allocations: 94.44 kB / 0.5827 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.3323, allocations: 111.8 kB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/0.3388, allocations: 4.976 MB / 0.5877 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.3388, allocations: 23.81 kB / 0.5877 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.339, allocations: 59.91 kB / 0.5878 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001949/0.341, allocations: 1.185 MB / 0.5889 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006575/0.3476, allocations: 4.262 MB / 0.5931 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.3681, allocations: 19.37 MB / 0.612 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3693, allocations: 0.7252 MB / 0.6127 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.3698, allocations: 347.3 kB / 0.613 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3698, allocations: 4 kB / 0.613 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3699, allocations: 46.44 kB / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.429e-06/0.3699, allocations: 4 kB / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00175/0.3716, allocations: 1.139 MB / 0.6142 GB, free: 13.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.3717, allocations: 140.5 kB / 0.6143 GB, free: 12.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.3745, allocations: 2.313 MB / 0.6166 GB, free: 10.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.3745, allocations: 33.7 kB / 0.6166 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.3759, allocations: 1.893 MB / 0.6185 GB, free: 8.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.3762, allocations: 313.8 kB / 0.6188 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009974/0.3772, allocations: 0.8017 MB / 0.6196 GB, free: 7.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3774, allocations: 330 kB / 0.6199 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.3788, allocations: 1.03 MB / 0.6209 GB, free: 6.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.3826, allocations: 3.688 MB / 0.6245 GB, free: 1.129 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/0.3884, allocations: 5.167 MB / 0.6295 GB, free: 10.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.594e-05/0.3885, allocations: 28 kB / 0.6296 GB, free: 10.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007281/0.3958, allocations: 4.438 MB / 0.6339 GB, free: 6.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.3959, allocations: 47.94 kB / 0.6339 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/0.396, allocations: 96 kB / 0.634 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.3961, allocations: 124 kB / 0.6341 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.3989, allocations: 0.8694 MB / 0.635 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001601/0.3991, allocations: 183.9 kB / 0.6352 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.4015, allocations: 0.5468 MB / 0.6357 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/0.4018, allocations: 252 kB / 0.6359 GB, free: 4.051 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.001742/0.4035, allocations: 1.188 MB / 0.6371 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.4038, allocations: 174.8 kB / 0.6373 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.4041, allocations: 199.9 kB / 0.6375 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/0.4042, allocations: 16 kB / 0.6375 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4042, allocations: 0 / 0.6375 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4042, allocations: 0 / 0.6375 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.4072, allocations: 1.646 MB / 0.6391 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4072, allocations: 8 kB / 0.6391 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.4075, allocations: 55.91 kB / 0.6391 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.4075, allocations: 4 kB / 0.6391 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.4076, allocations: 11.98 kB / 0.6392 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4076, allocations: 4 kB / 0.6392 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4076, allocations: 0 / 0.6392 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.4089, allocations: 1.191 MB / 0.6403 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.4091, allocations: 150.7 kB / 0.6405 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.4093, allocations: 8 kB / 0.6405 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.4098, allocations: 23.95 kB / 0.6405 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.4098, allocations: 31.95 kB / 0.6405 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.4099, allocations: 19.84 kB / 0.6405 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001782/0.4116, allocations: 1.292 MB / 0.6418 GB, free: 13.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4116, allocations: 0 / 0.6418 GB, free: 13.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002573/0.4142, allocations: 0.5534 MB / 0.6424 GB, free: 13.38 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.0002789/0.4145, allocations: 127.1 kB / 0.6425 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.4179, allocations: 2.257 MB / 0.6447 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4179, allocations: 1 kB / 0.6447 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.4183, allocations: 335.7 kB / 0.645 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.4193, allocations: 153.8 kB / 0.6451 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/0.4253, allocations: 4.039 MB / 0.6491 GB, free: 6.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.427, allocations: 1.287 MB / 0.6503 GB, free: 5.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002579/0.4296, allocations: 1.223 MB / 0.6515 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.4298, allocations: 119.4 kB / 0.6517 GB, free: 3.777 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4298, allocations: 0 / 0.6517 GB, free: 3.777 MB / 494.1 MB Notification: Performance of Templates: time 0.02867/0.4585, allocations: 15.34 MB / 0.6666 GB, free: 4.641 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] 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: 5.386519066989422]