Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.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.001403/0.001403, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001447/0.001447, allocations: 171.3 kB / 24.82 MB, free: 9.266 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 1.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.376/0.376, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 0 / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.217e-05/4.57e-05, allocations: 2.312 kB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01332/0.01336, allocations: 10.8 MB / 389.3 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.02341, allocations: 3.001 MB / 392.3 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.02737, allocations: 67.75 kB / 392.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00505/0.03242, allocations: 1.646 MB / 394 MB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.03974, allocations: 1.672 MB / 395.7 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.04037, allocations: 127.7 kB / 395.8 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005575/0.04594, allocations: 3.36 MB / 399.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.04875, allocations: 1.964 MB / 401.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.05163, allocations: 1.711 MB / 402.8 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.0549, allocations: 2.514 MB / 405.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.05552, allocations: 235.9 kB / 405.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.05687, allocations: 0.667 MB / 406.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.05815, allocations: 1.597 MB / 407.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.0594, allocations: 0.934 MB / 408.8 MB, free: 3.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.06349, allocations: 3.727 MB / 412.5 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.0635, allocations: 0 / 412.5 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0635, allocations: 0 / 412.5 MB, free: 256 kB / 378.7 MB Notification: Performance of Transformations before backend: time 9.053e-05/0.06359, allocations: 4 kB / 412.5 MB, free: 252 kB / 378.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.005894/0.06949, allocations: 4.368 MB / 416.9 MB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.06955, allocations: 12.03 kB / 416.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004179/0.07373, allocations: 1.699 MB / 418.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.07695, allocations: 1.57 MB / 420.1 MB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.07712, allocations: 184.9 kB / 420.3 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/0.07762, allocations: 236.2 kB / 420.6 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008663/0.08628, allocations: 4.449 MB / 425 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.08633, allocations: 19.81 kB / 425 MB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.08663, allocations: 119.8 kB / 425.1 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/0.08909, allocations: 2.077 MB / 427.2 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008118/0.09721, allocations: 2.341 MB / 429.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3211/0.4183, allocations: 27.93 MB / 457.5 MB, free: 73.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.4217, allocations: 1.321 MB / 458.8 MB, free: 73.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.4223, allocations: 309.5 kB / 459.1 MB, free: 73.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006926/0.4292, allocations: 3.856 MB / 463 MB, free: 72.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.4292, allocations: 49.55 kB / 463 MB, free: 72.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 7.163e-06/0.4292, allocations: 0 / 463 MB, free: 72.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.004345/0.4336, allocations: 1.819 MB / 464.8 MB, free: 72.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.4336, allocations: 119.1 kB / 464.9 MB, free: 72.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.4366, allocations: 2.538 MB / 467.5 MB, free: 71.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.4367, allocations: 42.91 kB / 467.5 MB, free: 71.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.4386, allocations: 2.997 MB / 470.5 MB, free: 70.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.439, allocations: 0.5614 MB / 471.1 MB, free: 69.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000906/0.4399, allocations: 1.031 MB / 472.1 MB, free: 69.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4401, allocations: 0.5432 MB / 472.7 MB, free: 69.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.4406, allocations: 359.1 kB / 473 MB, free: 69.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.4429, allocations: 4.557 MB / 477.6 MB, free: 63.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004557/0.4475, allocations: 5.513 MB / 483.1 MB, free: 57.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.4476, allocations: 32.88 kB / 483.1 MB, free: 57.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.005717/0.4533, allocations: 3.551 MB / 486.7 MB, free: 56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.4534, allocations: 51.44 kB / 486.7 MB, free: 56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.4535, allocations: 98.88 kB / 486.8 MB, free: 56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.4536, allocations: 131 kB / 486.9 MB, free: 56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.4554, allocations: 0.979 MB / 487.9 MB, free: 55.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000117/0.4555, allocations: 192.3 kB / 488.1 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.4581, allocations: 0.5983 MB / 488.7 MB, free: 55.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/0.4584, allocations: 252 kB / 488.9 MB, free: 55.39 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.001889/0.4603, allocations: 0.5163 MB / 489.5 MB, free: 54.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.4607, allocations: 268.9 kB / 489.7 MB, free: 54.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.461, allocations: 233.7 kB / 490 MB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/0.461, allocations: 18.12 kB / 490 MB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.4611, allocations: 4 kB / 490 MB, free: 54.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.4611, allocations: 3.281 kB / 490 MB, free: 54.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007652/0.4687, allocations: 4.341 MB / 494.3 MB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.4687, allocations: 7.094 kB / 494.3 MB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.4691, allocations: 150.2 kB / 494.5 MB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.949e-05/0.4692, allocations: 11.84 kB / 494.5 MB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.4692, allocations: 25.06 kB / 494.5 MB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.095e-05/0.4692, allocations: 19.22 kB / 494.5 MB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/0.4693, allocations: 16.53 kB / 494.5 MB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4708, allocations: 1.239 MB / 495.8 MB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/0.4712, allocations: 226.2 kB / 496 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4714, allocations: 29.61 kB / 496 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4718, allocations: 22.95 kB / 496.1 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4719, allocations: 94.75 kB / 496.1 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.472, allocations: 44.31 kB / 496.2 MB, free: 51.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001464/0.4734, allocations: 1.005 MB / 497.2 MB, free: 50.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4734, allocations: 0 / 497.2 MB, free: 50.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005033/0.4785, allocations: 1.04 MB / 498.2 MB, free: 50.38 MB / 410.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.0004678/0.4789, allocations: 158.5 kB / 498.4 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003952/0.4829, allocations: 1.837 MB / 0.4885 GB, free: 49.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.4829, allocations: 1.375 kB / 0.4885 GB, free: 49.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.4834, allocations: 322.1 kB / 0.4888 GB, free: 49.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.4849, allocations: 225 kB / 0.489 GB, free: 49.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.4983, allocations: 6.618 MB / 0.4955 GB, free: 45.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.4995, allocations: 1.124 MB / 0.4966 GB, free: 45.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001103/0.5006, allocations: 360.4 kB / 0.4969 GB, free: 45.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.5012, allocations: 393.9 kB / 0.4973 GB, free: 45.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.845e-06/0.5012, allocations: 0 / 0.4973 GB, free: 45.41 MB / 410.7 MB Notification: Performance of Templates: time 0.03849/0.5397, allocations: 14.84 MB / 0.5118 GB, free: 38.76 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.570087382104248]