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.001868/0.001868, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002619/0.002619, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3297/0.3297, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 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.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 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.82e-05, allocations: 2.312 kB / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01425/0.01428, allocations: 10.07 MB / 387.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.02114, allocations: 2.936 MB / 390.3 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.02252, allocations: 75.75 kB / 390.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.02614, allocations: 1.623 MB / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.03063, allocations: 1.665 MB / 393.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.03105, allocations: 123.7 kB / 393.8 MB, free: 2.438 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.03601, allocations: 3.367 MB / 397.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.03919, allocations: 1.96 MB / 399.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.04294, allocations: 1.695 MB / 400.8 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/0.04719, allocations: 2.483 MB / 403.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006498/0.04784, allocations: 228 kB / 403.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.0493, allocations: 0.6864 MB / 404.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.05103, allocations: 1.589 MB / 405.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.05239, allocations: 0.934 MB / 406.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.06067, allocations: 5.823 MB / 412.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.06068, allocations: 0 / 412.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.06068, allocations: 0 / 412.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.06083, allocations: 0 / 412.5 MB, free: 15.6 MB / 394.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.008458/0.06929, allocations: 3.994 MB / 416.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.06934, allocations: 8.031 kB / 416.5 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.08084, allocations: 3.579 MB / 420.1 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/0.08581, allocations: 1.814 MB / 421.9 MB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.08603, allocations: 184.9 kB / 422.1 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008253/0.08685, allocations: 236.2 kB / 422.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.1062, allocations: 9.776 MB / 432.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.135e-05/0.1063, allocations: 15.88 kB / 432.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004102/0.1067, allocations: 111.8 kB / 432.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004345/0.111, allocations: 2.373 MB / 434.6 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.1312, allocations: 8.948 MB / 443.5 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1977/0.3288, allocations: 27 MB / 470.5 MB, free: 78.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/0.3344, allocations: 2.584 MB / 473.1 MB, free: 77.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3356, allocations: 1.018 MB / 474.1 MB, free: 77.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008613/0.3443, allocations: 4.883 MB / 479 MB, free: 75.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3443, allocations: 38.28 kB / 479.1 MB, free: 75.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.709e-06/0.3443, allocations: 2.969 kB / 479.1 MB, free: 75.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.007646/0.3519, allocations: 3.365 MB / 482.4 MB, free: 74.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.352, allocations: 112.9 kB / 482.5 MB, free: 74.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/0.3556, allocations: 2.787 MB / 485.3 MB, free: 73.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.555e-05/0.3557, allocations: 37.52 kB / 485.4 MB, free: 73.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.3571, allocations: 2.838 MB / 488.2 MB, free: 71.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.3574, allocations: 0.5319 MB / 488.7 MB, free: 71.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.3586, allocations: 0.9209 MB / 489.7 MB, free: 70.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3587, allocations: 359.7 kB / 490 MB, free: 70.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.3605, allocations: 1.403 MB / 491.4 MB, free: 70.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.3631, allocations: 4.23 MB / 495.6 MB, free: 65.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004425/0.3676, allocations: 6.157 MB / 0.49 GB, free: 60.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-05/0.3676, allocations: 28.31 kB / 0.4901 GB, free: 60.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007035/0.3746, allocations: 5.683 MB / 0.4956 GB, free: 58.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.3747, allocations: 54.72 kB / 0.4957 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.859e-05/0.3748, allocations: 99.81 kB / 0.4958 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.3749, allocations: 134 kB / 0.4959 GB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.3774, allocations: 0.9941 MB / 0.4969 GB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001247/0.3775, allocations: 197.7 kB / 0.497 GB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.3803, allocations: 0.6172 MB / 0.4977 GB, free: 56.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.3806, allocations: 283.7 kB / 0.4979 GB, free: 56.5 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 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * 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.002781/0.3833, allocations: 1.984 MB / 0.4999 GB, free: 54.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.3837, allocations: 259.1 kB / 0.5001 GB, free: 54.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.3842, allocations: 278.3 kB / 0.5004 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.3842, allocations: 16 kB / 0.5004 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.3842, allocations: 4 kB / 0.5004 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3842, allocations: 4.359 kB / 0.5004 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006983/0.3912, allocations: 4.843 MB / 0.5051 GB, free: 49.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.3912, allocations: 8.75 kB / 0.5051 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.3918, allocations: 167.7 kB / 0.5053 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.3918, allocations: 16.03 kB / 0.5053 GB, free: 49.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.3919, allocations: 33.23 kB / 0.5053 GB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.3919, allocations: 17.77 kB / 0.5054 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.3919, allocations: 12.19 kB / 0.5054 GB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.3938, allocations: 2.012 MB / 0.5073 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.3942, allocations: 231 kB / 0.5076 GB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.3944, allocations: 34 kB / 0.5076 GB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.395, allocations: 50.22 kB / 0.5076 GB, free: 47.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3951, allocations: 78.05 kB / 0.5077 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.416e-05/0.3952, allocations: 53.34 kB / 0.5078 GB, free: 47.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001708/0.3969, allocations: 1.581 MB / 0.5093 GB, free: 46.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3969, allocations: 0 / 0.5093 GB, free: 46.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003376/0.4003, allocations: 1.047 MB / 0.5103 GB, free: 45.05 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.0003009/0.4006, allocations: 162.1 kB / 0.5105 GB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.4042, allocations: 3.13 MB / 0.5135 GB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4042, allocations: 4 kB / 0.5135 GB, free: 42.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.4049, allocations: 0.7417 MB / 0.5143 GB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4061, allocations: 235.9 kB / 0.5145 GB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009354/0.4154, allocations: 7.877 MB / 0.5222 GB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/0.4179, allocations: 2.546 MB / 0.5247 GB, free: 31.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002708/0.4206, allocations: 1.539 MB / 0.5262 GB, free: 29.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.421, allocations: 160.5 kB / 0.5263 GB, free: 29.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.903e-06/0.421, allocations: 0 / 0.5263 GB, free: 29.81 MB / 410.7 MB Notification: Performance of Templates: time 0.03064/0.4516, allocations: 13.09 MB / 0.5391 GB, free: 17.12 MB / 410.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.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: 6.132788726943545]