Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108.2 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.17 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 57.09 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1217, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01156/0.1333, allocations: 11.55 MB / 482.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.1391, allocations: 3.021 MB / 485.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1403, allocations: 63.88 kB / 485.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.143, allocations: 1.549 MB / 486.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.1466, allocations: 1.58 MB / 488.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1471, allocations: 107.9 kB / 488.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004775/0.1519, allocations: 3.343 MB / 491.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.1546, allocations: 2.183 MB / 494.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.1567, allocations: 1.16 MB / 495.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/0.1599, allocations: 2.439 MB / 497.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.1605, allocations: 228 kB / 497.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1618, allocations: 0.706 MB / 498.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.163, allocations: 1.511 MB / 0.4884 GB, free: 76 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.1644, allocations: 1.832 MB / 0.4902 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.1689, allocations: 5.966 MB / 0.496 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.169, allocations: 0 / 0.496 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.169, allocations: 0 / 0.496 GB, free: 8.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.018e-05/0.169, allocations: 0 / 0.496 GB, free: 8.242 MB / 382.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.005226/0.1743, allocations: 4.036 MB / 0.5 GB, free: 4.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1743, allocations: 8.031 kB / 0.5 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008605/0.1829, allocations: 2.959 MB / 0.5029 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2111/0.394, allocations: 1.838 MB / 0.5047 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.3942, allocations: 187.1 kB / 0.5049 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007467/0.395, allocations: 234.2 kB / 0.5051 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.4102, allocations: 9.761 MB / 0.5146 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/0.4103, allocations: 19.39 kB / 0.5146 GB, free: 42.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.4107, allocations: 110 kB / 0.5147 GB, free: 41.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004028/0.4147, allocations: 2.365 MB / 0.517 GB, free: 41.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.43, allocations: 8.951 MB / 0.5258 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02996/0.46, allocations: 29.48 MB / 0.5546 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.4649, allocations: 3.497 MB / 0.558 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.4659, allocations: 1.095 MB / 0.5591 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00906/0.475, allocations: 6.462 MB / 0.5654 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.475, allocations: 47.16 kB / 0.5654 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 2.875e-06/0.475, allocations: 4 kB / 0.5654 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.006801/0.4819, allocations: 3.133 MB / 0.5685 GB, free: 8.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.4819, allocations: 119.5 kB / 0.5686 GB, free: 8.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.4852, allocations: 2.73 MB / 0.5713 GB, free: 5.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/0.4853, allocations: 41.7 kB / 0.5713 GB, free: 5.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.4869, allocations: 2.735 MB / 0.574 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.4874, allocations: 0.5246 MB / 0.5745 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009916/0.4884, allocations: 0.9284 MB / 0.5754 GB, free: 1.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.4885, allocations: 305.1 kB / 0.5757 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.4902, allocations: 1.403 MB / 0.577 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/0.4935, allocations: 4.233 MB / 0.5812 GB, free: 9.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005597/0.4991, allocations: 6.147 MB / 0.5872 GB, free: 2.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-05/0.4992, allocations: 28.25 kB / 0.5872 GB, free: 2.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007247/0.5065, allocations: 5.45 MB / 0.5925 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.5065, allocations: 51.94 kB / 0.5926 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.7e-05/0.5066, allocations: 104 kB / 0.5927 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.5068, allocations: 132 kB / 0.5928 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.5092, allocations: 0.9981 MB / 0.5938 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001294/0.5093, allocations: 195.2 kB / 0.594 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.5117, allocations: 0.6107 MB / 0.5946 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/0.512, allocations: 284.3 kB / 0.5948 GB, free: 10.59 MB / 430.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.002305/0.5143, allocations: 1.985 MB / 0.5968 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.5146, allocations: 228.9 kB / 0.597 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.515, allocations: 291 kB / 0.5973 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/0.5151, allocations: 16.19 kB / 0.5973 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5151, allocations: 0 / 0.5973 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5151, allocations: 11.97 kB / 0.5973 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/0.5237, allocations: 6.196 MB / 0.6033 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5237, allocations: 8 kB / 0.6034 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.5243, allocations: 167.8 kB / 0.6035 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/0.5243, allocations: 15.94 kB / 0.6035 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.5244, allocations: 31.98 kB / 0.6036 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.5244, allocations: 19.92 kB / 0.6036 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.5244, allocations: 8 kB / 0.6036 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.5264, allocations: 1.99 MB / 0.6055 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.5268, allocations: 313.7 kB / 0.6058 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5271, allocations: 31.94 kB / 0.6059 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.5277, allocations: 47.94 kB / 0.6059 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.5278, allocations: 76.36 kB / 0.606 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.622e-05/0.5279, allocations: 51.98 kB / 0.606 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001943/0.5298, allocations: 1.674 MB / 0.6077 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5298, allocations: 0 / 0.6077 GB, free: 13.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003109/0.5329, allocations: 1.043 MB / 0.6087 GB, free: 12.08 MB / 446.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.0002934/0.5332, allocations: 161.6 kB / 0.6088 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.5374, allocations: 3.285 MB / 0.612 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5374, allocations: 4.125 kB / 0.612 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008216/0.5382, allocations: 0.7936 MB / 0.6128 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5395, allocations: 301.5 kB / 0.6131 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.5503, allocations: 7.676 MB / 0.6206 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003621/0.5539, allocations: 3.104 MB / 0.6236 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003056/0.557, allocations: 1.556 MB / 0.6252 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.5574, allocations: 167.4 kB / 0.6253 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5574, allocations: 4 kB / 0.6253 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Templates: time 0.2026/0.7601, allocations: 16.16 MB / 0.6411 GB, free: 10.84 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches