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.001646/0.001646, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.00211/0.00211, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.514/1.514, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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.2216/0.2216, allocations: 34.28 MB / 295 MB, free: 14.57 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.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.713e-06/1.713e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.664e-05, allocations: 6.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.2039/0.2039, allocations: 10.06 MB / 452.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.2103, allocations: 2.936 MB / 455.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2113, allocations: 71.75 kB / 455.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.2144, allocations: 1.603 MB / 457.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.2177, allocations: 1.668 MB / 459 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.218, allocations: 121.3 kB / 459.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004181/0.2222, allocations: 3.372 MB / 462.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.2245, allocations: 1.901 MB / 464.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.2267, allocations: 1.686 MB / 466.1 MB, free: 7.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.2305, allocations: 2.488 MB / 468.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008678/0.2314, allocations: 230.3 kB / 468.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.2331, allocations: 0.6835 MB / 469.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.2344, allocations: 1.588 MB / 471.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.2356, allocations: 0.9288 MB / 472 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005684/0.2413, allocations: 5.824 MB / 477.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2413, allocations: 0 / 477.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2413, allocations: 1.188 kB / 477.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001244/0.2414, allocations: 0 / 477.8 MB, free: 1.359 MB / 366.1 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.007571/0.249, allocations: 3.991 MB / 481.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.249, allocations: 9.875 kB / 481.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.2602, allocations: 3.016 MB / 484.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004351/0.2645, allocations: 1.795 MB / 486.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.2647, allocations: 184.9 kB / 486.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.2653, allocations: 240.2 kB / 487 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.2817, allocations: 9.773 MB / 496.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-05/0.2817, allocations: 23.75 kB / 496.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.2821, allocations: 111.8 kB / 496.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004069/0.2862, allocations: 2.361 MB / 499.3 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.3038, allocations: 8.953 MB / 0.4964 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05151/0.3553, allocations: 26.93 MB / 0.5227 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/0.3625, allocations: 2.598 MB / 0.5252 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.3644, allocations: 1.021 MB / 0.5262 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.3757, allocations: 4.854 MB / 0.5309 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.3758, allocations: 47.14 kB / 0.531 GB, free: 15.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.849e-06/0.3758, allocations: 8 kB / 0.531 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.008813/0.3846, allocations: 3.327 MB / 0.5342 GB, free: 12.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.3847, allocations: 115.4 kB / 0.5343 GB, free: 12.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005595/0.3903, allocations: 2.788 MB / 0.5371 GB, free: 9.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.3904, allocations: 37.7 kB / 0.5371 GB, free: 9.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.3929, allocations: 2.825 MB / 0.5399 GB, free: 6.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007543/0.3937, allocations: 0.5349 MB / 0.5404 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.3953, allocations: 0.9213 MB / 0.5413 GB, free: 5.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3955, allocations: 357.9 kB / 0.5416 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/0.398, allocations: 1.41 MB / 0.543 GB, free: 3.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005401/0.4034, allocations: 4.225 MB / 0.5471 GB, free: 13.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008359/0.4117, allocations: 6.151 MB / 0.5531 GB, free: 6.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/0.4119, allocations: 32 kB / 0.5532 GB, free: 6.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01077/0.4227, allocations: 5.456 MB / 0.5585 GB, free: 0.582 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.4228, allocations: 48 kB / 0.5585 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/0.4229, allocations: 100 kB / 0.5586 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.4231, allocations: 132 kB / 0.5588 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.4265, allocations: 0.9981 MB / 0.5597 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002013/0.4267, allocations: 199.2 kB / 0.5599 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/0.43, allocations: 0.6127 MB / 0.5605 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006933/0.4307, allocations: 292.3 kB / 0.5608 GB, free: 14.21 MB / 478.1 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.004125/0.4349, allocations: 1.974 MB / 0.5627 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.4354, allocations: 234.4 kB / 0.563 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.4361, allocations: 280 kB / 0.5632 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/0.4362, allocations: 16 kB / 0.5632 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.4362, allocations: 7.922 kB / 0.5632 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4362, allocations: 7.984 kB / 0.5632 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.4482, allocations: 4.839 MB / 0.568 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/0.4482, allocations: 11.94 kB / 0.568 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/0.449, allocations: 163.7 kB / 0.5681 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.449, allocations: 12 kB / 0.5682 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.4491, allocations: 28 kB / 0.5682 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/0.4491, allocations: 15.98 kB / 0.5682 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.4491, allocations: 11.94 kB / 0.5682 GB, free: 6.465 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.4523, allocations: 1.983 MB / 0.5701 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/0.453, allocations: 238.1 kB / 0.5704 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.4535, allocations: 23.98 kB / 0.5704 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009778/0.4545, allocations: 43.97 kB / 0.5704 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.4547, allocations: 96.11 kB / 0.5705 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.4548, allocations: 44 kB / 0.5706 GB, free: 3.922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003805/0.4586, allocations: 1.581 MB / 0.5721 GB, free: 2.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4586, allocations: 3.938 kB / 0.5721 GB, free: 2.324 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005122/0.4637, allocations: 1.055 MB / 0.5731 GB, free: 1.266 MB / 478.1 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.0005435/0.4642, allocations: 154.9 kB / 0.5733 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006191/0.4704, allocations: 3.132 MB / 0.5764 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.4704, allocations: 8.062 kB / 0.5764 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.4716, allocations: 0.7424 MB / 0.5771 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.4735, allocations: 220.2 kB / 0.5773 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.491, allocations: 7.756 MB / 0.5849 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005243/0.4963, allocations: 2.556 MB / 0.5874 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003752/0.5, allocations: 1.531 MB / 0.5889 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.5005, allocations: 164.5 kB / 0.589 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5005, allocations: 0 / 0.589 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of Templates: time 0.03977/0.5403, allocations: 12.98 MB / 0.6017 GB, free: 4.199 MB / 0.4981 GB " [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=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.186301585286856]