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.001888/0.001888, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002408/0.002408, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.57/1.57, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.2386/0.2386, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 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 0.001941/0.001941, allocations: 67.89 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01304/0.3892, allocations: 10.06 MB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007023/0.3962, allocations: 2.919 MB / 0.5745 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.3978, allocations: 67.75 kB / 0.5745 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.401, allocations: 1.545 MB / 0.576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.4049, allocations: 1.627 MB / 0.5776 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.4053, allocations: 111.9 kB / 0.5777 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004462/0.4098, allocations: 3.312 MB / 0.581 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.4122, allocations: 1.905 MB / 0.5828 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.4138, allocations: 1.164 MB / 0.584 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.4176, allocations: 2.602 MB / 0.5865 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005758/0.4182, allocations: 228 kB / 0.5867 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.4196, allocations: 0.6241 MB / 0.5873 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.4212, allocations: 1.538 MB / 0.5888 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.4229, allocations: 1.272 MB / 0.5901 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.4301, allocations: 5.967 MB / 0.5959 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4301, allocations: 4 kB / 0.5959 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4301, allocations: 0 / 0.5959 GB, free: 1.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001732/0.4303, allocations: 0 / 0.5959 GB, free: 1.105 MB / 430.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.008715/0.439, allocations: 4.033 MB / 0.5999 GB, free: 13.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4391, allocations: 11.97 kB / 0.5999 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009825/0.4489, allocations: 2.989 MB / 0.6028 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005488/0.4544, allocations: 1.787 MB / 0.6045 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.4546, allocations: 184.9 kB / 0.6047 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/0.4556, allocations: 239.8 kB / 0.6049 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.4722, allocations: 9.76 MB / 0.6145 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.254e-05/0.4723, allocations: 15.88 kB / 0.6145 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.4726, allocations: 111.8 kB / 0.6146 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003813/0.4764, allocations: 2.369 MB / 0.6169 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/0.4946, allocations: 8.928 MB / 0.6256 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04967/0.5443, allocations: 26.8 MB / 0.6518 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006547/0.5508, allocations: 2.461 MB / 0.6542 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.5525, allocations: 1.013 MB / 0.6552 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.564, allocations: 4.696 MB / 0.6598 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.5641, allocations: 47.22 kB / 0.6598 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.959e-06/0.5641, allocations: 0 / 0.6598 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008286/0.5723, allocations: 3.139 MB / 0.6629 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.5724, allocations: 115.5 kB / 0.663 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/0.577, allocations: 2.784 MB / 0.6657 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.5771, allocations: 41.7 kB / 0.6658 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002535/0.5797, allocations: 2.86 MB / 0.6685 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/0.5805, allocations: 0.5311 MB / 0.6691 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.5818, allocations: 0.9408 MB / 0.67 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.5821, allocations: 353.9 kB / 0.6703 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.5842, allocations: 1.406 MB / 0.6717 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.5892, allocations: 4.225 MB / 0.6758 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008181/0.5974, allocations: 6.151 MB / 0.6818 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/0.5975, allocations: 28 kB / 0.6819 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01003/0.6075, allocations: 5.448 MB / 0.6872 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/0.6076, allocations: 56.19 kB / 0.6872 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.6077, allocations: 100 kB / 0.6873 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.6079, allocations: 135.9 kB / 0.6875 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.611, allocations: 0.9981 MB / 0.6884 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001861/0.6112, allocations: 199.2 kB / 0.6886 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/0.6143, allocations: 0.6127 MB / 0.6892 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/0.6148, allocations: 284 kB / 0.6895 GB, free: 13.03 MB / 0.5294 GB 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.00341/0.6182, allocations: 1.973 MB / 0.6914 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.6186, allocations: 234.6 kB / 0.6916 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.6192, allocations: 283.8 kB / 0.6919 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/0.6192, allocations: 19.98 kB / 0.6919 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.6192, allocations: 4 kB / 0.6919 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6192, allocations: 3.984 kB / 0.6919 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009378/0.6286, allocations: 4.796 MB / 0.6966 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6286, allocations: 11.94 kB / 0.6966 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.6293, allocations: 167.9 kB / 0.6968 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.6294, allocations: 16.03 kB / 0.6968 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.6294, allocations: 31.97 kB / 0.6968 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.6294, allocations: 15.94 kB / 0.6968 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.6295, allocations: 15.92 kB / 0.6969 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.6323, allocations: 1.995 MB / 0.6988 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.6328, allocations: 242 kB / 0.699 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.6331, allocations: 24 kB / 0.6991 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.6337, allocations: 47.94 kB / 0.6991 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.6339, allocations: 84.2 kB / 0.6992 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/0.634, allocations: 51.98 kB / 0.6992 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002428/0.6364, allocations: 1.577 MB / 0.7008 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6364, allocations: 0 / 0.7008 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00404/0.6404, allocations: 1.051 MB / 0.7018 GB, free: 108 kB / 0.5294 GB 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.0004171/0.6408, allocations: 158.8 kB / 0.702 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005624/0.6465, allocations: 3.138 MB / 0.705 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.6465, allocations: 0 / 0.705 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6475, allocations: 0.7383 MB / 0.7057 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6491, allocations: 233.2 kB / 0.706 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.6645, allocations: 8.24 MB / 0.714 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003609/0.6681, allocations: 2.556 MB / 0.7165 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/0.6689, allocations: 203.4 kB / 0.7167 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/0.6689, allocations: 0 / 0.7167 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of Templates: time 0.3766/1.045, allocations: 45.15 MB / 0.7608 GB, free: 131.8 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/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: 11.930341616010992]