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.001275/0.001275, allocations: 93.98 kB / 17 MB, free: 6.418 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.001814/0.001814, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.615/1.615, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02695/0.1453, allocations: 26.12 MB / 497.7 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1583, allocations: 5.555 MB / 0.4915 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005465/0.1639, allocations: 115.8 kB / 0.4916 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00493/0.1688, allocations: 1.279 MB / 0.4928 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.1798, allocations: 3.814 MB / 0.4966 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1809, allocations: 119.9 kB / 0.4967 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2875/0.4684, allocations: 31.22 MB / 0.5272 GB, free: 18.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004989/0.4734, allocations: 2.605 MB / 0.5297 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.4753, allocations: 0.962 MB / 0.5306 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06929/0.5446, allocations: 57.43 MB / 0.5867 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.5459, allocations: 124 kB / 0.5868 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.5484, allocations: 0.5336 MB / 0.5874 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.5508, allocations: 1.37 MB / 0.5887 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.5523, allocations: 0.7267 MB / 0.5894 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.5584, allocations: 4.541 MB / 0.5939 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.5585, allocations: 7.188 kB / 0.5939 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5585, allocations: 0 / 0.5939 GB, free: 11.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002369/0.5587, allocations: 0 / 0.5939 GB, free: 11.6 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.006666/0.5654, allocations: 3.34 MB / 0.5971 GB, free: 8.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.5655, allocations: 8.031 kB / 0.5971 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009442/0.5749, allocations: 3.052 MB / 0.6001 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.5793, allocations: 1.786 MB / 0.6019 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.5795, allocations: 186.5 kB / 0.602 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006516/0.5802, allocations: 239.8 kB / 0.6023 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.5957, allocations: 9.738 MB / 0.6118 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.44e-05/0.5958, allocations: 15.81 kB / 0.6118 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/0.5961, allocations: 115.8 kB / 0.6119 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003381/0.5995, allocations: 2.362 MB / 0.6142 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.6168, allocations: 8.905 MB / 0.6229 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04222/0.6591, allocations: 29.74 MB / 0.6519 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006211/0.6653, allocations: 3.468 MB / 0.6553 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.6671, allocations: 1.095 MB / 0.6564 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.6775, allocations: 6.476 MB / 0.6627 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.6776, allocations: 43.22 kB / 0.6628 GB, free: 3.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 7.855e-06/0.6776, allocations: 0 / 0.6628 GB, free: 3.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.00819/0.6858, allocations: 3.13 MB / 0.6658 GB, free: 256 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.6859, allocations: 111.5 kB / 0.6659 GB, free: 120 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/0.6903, allocations: 2.721 MB / 0.6686 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-05/0.6904, allocations: 37.7 kB / 0.6686 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.6924, allocations: 2.739 MB / 0.6713 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.6929, allocations: 0.5129 MB / 0.6718 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.6931, allocations: 91.98 kB / 0.6719 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003097/0.6934, allocations: 0.5003 MB / 0.6724 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.6955, allocations: 1.387 MB / 0.6737 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/0.6993, allocations: 4.209 MB / 0.6778 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.7028, allocations: 2.435 MB / 0.6802 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.594e-05/0.7029, allocations: 28 kB / 0.6802 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009403/0.7123, allocations: 5.411 MB / 0.6855 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/0.7124, allocations: 48 kB / 0.6856 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.7126, allocations: 100.2 kB / 0.6857 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.7127, allocations: 150.6 kB / 0.6858 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/0.7155, allocations: 0.9981 MB / 0.6868 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.7157, allocations: 195.2 kB / 0.687 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.7185, allocations: 0.6219 MB / 0.6876 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.7188, allocations: 288 kB / 0.6878 GB, free: 8.164 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003377/0.7222, allocations: 1.974 MB / 0.6898 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/0.7226, allocations: 230.9 kB / 0.69 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.7232, allocations: 292.7 kB / 0.6903 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/0.7232, allocations: 23.98 kB / 0.6903 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.7233, allocations: 0 / 0.6903 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7233, allocations: 7.984 kB / 0.6903 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009326/0.7326, allocations: 6.184 MB / 0.6963 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.7327, allocations: 8 kB / 0.6964 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.7333, allocations: 163.7 kB / 0.6965 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.7333, allocations: 12 kB / 0.6965 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.7334, allocations: 32.17 kB / 0.6966 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/0.7334, allocations: 12 kB / 0.6966 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.7334, allocations: 11.94 kB / 0.6966 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.7359, allocations: 1.998 MB / 0.6985 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.7365, allocations: 317.8 kB / 0.6988 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.7367, allocations: 24 kB / 0.6989 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.7373, allocations: 51.86 kB / 0.6989 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.7374, allocations: 80.27 kB / 0.699 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/0.7375, allocations: 55.98 kB / 0.699 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002534/0.7401, allocations: 1.656 MB / 0.7006 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7401, allocations: 0 / 0.7006 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004155/0.7442, allocations: 1.042 MB / 0.7017 GB, free: 9.672 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003384/0.7446, allocations: 157.5 kB / 0.7018 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005276/0.7499, allocations: 3.235 MB / 0.705 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7499, allocations: 0 / 0.705 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/0.7509, allocations: 0.7951 MB / 0.7058 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.7527, allocations: 289 kB / 0.706 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3864/1.139, allocations: 9.405 MB / 0.7152 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0066/1.146, allocations: 3.103 MB / 0.7182 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007168/1.153, allocations: 1.545 MB / 0.7198 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008383/1.154, allocations: 166.5 kB / 0.7199 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.763e-06/1.154, allocations: 2.938 kB / 0.7199 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.04688/1.201, allocations: 18.65 MB / 0.7381 GB, free: 153.7 MB / 0.5294 GB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/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