Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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.001182/0.001182, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001207/0.001207, allocations: 160.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9821/0.9821, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.191/0.191, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 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.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.282e-05, allocations: 3.156 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.006668/0.006681, allocations: 10.79 MB / 390.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.01139, allocations: 2.984 MB / 393.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008636/0.01225, allocations: 67.75 kB / 393.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.01389, allocations: 1.654 MB / 395.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.01609, allocations: 1.668 MB / 397.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.01633, allocations: 131.7 kB / 397.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.0184, allocations: 3.364 MB / 400.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.01942, allocations: 1.968 MB / 402.6 MB, free: 28 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.02068, allocations: 1.699 MB / 404.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.02269, allocations: 2.522 MB / 406.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.02291, allocations: 232 kB / 407.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/0.02364, allocations: 0.667 MB / 407.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008741/0.02452, allocations: 1.593 MB / 409.3 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006319/0.02515, allocations: 0.9379 MB / 410.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.02773, allocations: 3.727 MB / 414 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.02773, allocations: 0 / 414 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02773, allocations: 0 / 414 MB, free: 4.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.02776, allocations: 0 / 414 MB, free: 4.617 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.003851/0.03161, allocations: 4.368 MB / 418.4 MB, free: 188 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.03166, allocations: 12.62 kB / 418.4 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.03543, allocations: 1.699 MB / 420.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.03706, allocations: 1.563 MB / 421.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.03716, allocations: 184.9 kB / 421.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.03745, allocations: 236.2 kB / 422 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/0.0418, allocations: 4.456 MB / 426.5 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.04185, allocations: 19.81 kB / 426.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.04206, allocations: 111.8 kB / 426.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00177/0.04383, allocations: 2.073 MB / 428.7 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.04727, allocations: 2.343 MB / 431 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.06807, allocations: 27.94 MB / 459 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.0706, allocations: 1.324 MB / 460.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.07096, allocations: 311.4 kB / 460.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004621/0.07558, allocations: 3.846 MB / 464.4 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.07588, allocations: 53.98 kB / 464.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=135): time 3.146e-06/0.07588, allocations: 0 / 464.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.004938/0.08082, allocations: 1.824 MB / 466.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.08087, allocations: 111.5 kB / 466.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.08334, allocations: 2.541 MB / 469 MB, free: 12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.08339, allocations: 41.7 kB / 469 MB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.08523, allocations: 2.999 MB / 472 MB, free: 8.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.08561, allocations: 0.5545 MB / 472.6 MB, free: 8.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.08666, allocations: 1.032 MB / 473.6 MB, free: 7.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.08683, allocations: 0.5432 MB / 474.1 MB, free: 6.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.08739, allocations: 360.8 kB / 474.5 MB, free: 6.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/0.09073, allocations: 4.572 MB / 479.1 MB, free: 15.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00451/0.09524, allocations: 5.51 MB / 484.6 MB, free: 8.461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-05/0.09528, allocations: 28 kB / 484.6 MB, free: 8.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004478/0.09976, allocations: 3.555 MB / 488.2 MB, free: 4.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.09982, allocations: 48 kB / 488.2 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-05/0.0999, allocations: 100 kB / 488.3 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.1, allocations: 128 kB / 488.4 MB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/0.1024, allocations: 0.9708 MB / 489.4 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.1025, allocations: 203.2 kB / 489.6 MB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.1045, allocations: 0.5931 MB / 490.2 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.1048, allocations: 256.4 kB / 490.4 MB, free: 2.586 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],fixedFrameOfWireframe.color_x[1],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[3],fixedFrame.color_x[1],fixedFrame.color_x[2],fixedFrame.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.001034/0.1058, allocations: 0.5163 MB / 491 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.1061, allocations: 254.4 kB / 491.2 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1064, allocations: 239.8 kB / 491.4 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.1064, allocations: 19.98 kB / 491.5 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1064, allocations: 4 kB / 491.5 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1065, allocations: 8.109 kB / 491.5 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/0.1123, allocations: 4.344 MB / 495.8 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.1123, allocations: 8 kB / 495.8 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.1127, allocations: 151.7 kB / 496 MB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.1127, allocations: 12 kB / 496 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.1128, allocations: 35.92 kB / 496 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.1128, allocations: 15.98 kB / 496 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.1128, allocations: 11.94 kB / 496 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.1142, allocations: 1.24 MB / 497.3 MB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.1144, allocations: 230 kB / 497.5 MB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.1146, allocations: 27.98 kB / 497.5 MB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.115, allocations: 27.98 kB / 497.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.1151, allocations: 84.14 kB / 497.6 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.1152, allocations: 44 kB / 497.7 MB, free: 10.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.1162, allocations: 0.9985 MB / 498.7 MB, free: 9.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1162, allocations: 0 / 498.7 MB, free: 9.953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002831/0.119, allocations: 1.047 MB / 499.7 MB, free: 8.902 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.0002598/0.1193, allocations: 158.8 kB / 499.9 MB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002241/0.1216, allocations: 1.842 MB / 0.49 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1216, allocations: 4 kB / 0.49 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.122, allocations: 307 kB / 0.4903 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.1229, allocations: 233.1 kB / 0.4905 GB, free: 6.367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1498/0.2727, allocations: 6.614 MB / 0.497 GB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.274, allocations: 1.116 MB / 0.498 GB, free: 126 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008853/0.2749, allocations: 359 kB / 0.4984 GB, free: 126 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.2753, allocations: 396.7 kB / 0.4988 GB, free: 125.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2753, allocations: 0 / 0.4988 GB, free: 125.9 MB / 426.7 MB Notification: Performance of Templates: time 0.02613/0.3014, allocations: 15.16 MB / 0.5136 GB, free: 117.5 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.028035080991685]