Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.11 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 76.48 kB / 417.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1422, allocations: 62.46 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01183/0.154, allocations: 11.5 MB / 491.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.1611, allocations: 3.06 MB / 494.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.163, allocations: 63.88 kB / 494.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.1661, allocations: 1.565 MB / 496.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.1698, allocations: 1.568 MB / 497.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1702, allocations: 119.8 kB / 498 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.174, allocations: 3.297 MB / 0.4895 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.1765, allocations: 2.183 MB / 0.4916 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.178, allocations: 1.144 MB / 0.4928 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.1811, allocations: 2.435 MB / 0.4951 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005955/0.1818, allocations: 228 kB / 0.4953 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1831, allocations: 0.7061 MB / 0.496 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.1844, allocations: 1.496 MB / 0.4975 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.1861, allocations: 1.808 MB / 0.4993 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.1912, allocations: 5.63 MB / 0.5048 GB, free: 220 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1913, allocations: 3.984 kB / 0.5048 GB, free: 216 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1913, allocations: 0 / 0.5048 GB, free: 216 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.1914, allocations: 0 / 0.5048 GB, free: 216 kB / 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.2344/0.4258, allocations: 3.982 MB / 0.5087 GB, free: 39.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4259, allocations: 9.594 kB / 0.5087 GB, free: 39.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.4366, allocations: 2.963 MB / 0.5116 GB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/0.4415, allocations: 1.808 MB / 0.5133 GB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.4417, allocations: 182.2 kB / 0.5135 GB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008302/0.4425, allocations: 241.3 kB / 0.5137 GB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.4623, allocations: 9.758 MB / 0.5233 GB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-05/0.4624, allocations: 21.72 kB / 0.5233 GB, free: 33.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003718/0.4628, allocations: 118.6 kB / 0.5234 GB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003392/0.4662, allocations: 2.361 MB / 0.5257 GB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.4809, allocations: 8.954 MB / 0.5344 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04278/0.5238, allocations: 29.72 MB / 0.5635 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/0.5312, allocations: 3.48 MB / 0.5669 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.5332, allocations: 1.1 MB / 0.5679 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.5456, allocations: 6.477 MB / 0.5743 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5457, allocations: 47.2 kB / 0.5743 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=135): time 5.06e-06/0.5457, allocations: 0 / 0.5743 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.008286/0.554, allocations: 3.138 MB / 0.5774 GB, free: 10.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.5541, allocations: 111.5 kB / 0.5775 GB, free: 10.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/0.5588, allocations: 2.729 MB / 0.5801 GB, free: 7.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.559, allocations: 45.7 kB / 0.5802 GB, free: 7.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002169/0.5611, allocations: 2.735 MB / 0.5829 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/0.5619, allocations: 0.513 MB / 0.5834 GB, free: 4.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.5635, allocations: 0.9283 MB / 0.5843 GB, free: 3.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5636, allocations: 301.1 kB / 0.5846 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/0.5659, allocations: 1.41 MB / 0.5859 GB, free: 1.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/0.5705, allocations: 4.229 MB / 0.5901 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/0.5777, allocations: 6.147 MB / 0.5961 GB, free: 4.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.5779, allocations: 28 kB / 0.5961 GB, free: 4.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01057/0.5884, allocations: 5.449 MB / 0.6014 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.5886, allocations: 48 kB / 0.6015 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/0.5888, allocations: 99.98 kB / 0.6016 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.5889, allocations: 136.7 kB / 0.6017 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/0.5921, allocations: 0.9942 MB / 0.6027 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001571/0.5923, allocations: 203.2 kB / 0.6028 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/0.5959, allocations: 0.6184 MB / 0.6035 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000896/0.5969, allocations: 284 kB / 0.6037 GB, free: 12.89 MB / 446.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.005566/0.6024, allocations: 1.977 MB / 0.6057 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/0.6031, allocations: 225 kB / 0.6059 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.604, allocations: 288.8 kB / 0.6061 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/0.604, allocations: 23.88 kB / 0.6062 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.6041, allocations: 4 kB / 0.6062 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.6041, allocations: 12.16 kB / 0.6062 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.6204, allocations: 6.184 MB / 0.6122 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-05/0.6205, allocations: 8 kB / 0.6122 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6216, allocations: 167.7 kB / 0.6124 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.21e-05/0.6216, allocations: 19.97 kB / 0.6124 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.6218, allocations: 24 kB / 0.6124 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-05/0.6218, allocations: 19.92 kB / 0.6125 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.6218, allocations: 11.94 kB / 0.6125 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.6256, allocations: 1.998 MB / 0.6144 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007338/0.6264, allocations: 305.8 kB / 0.6147 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004946/0.6269, allocations: 31.97 kB / 0.6147 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/0.6278, allocations: 43.95 kB / 0.6148 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.628, allocations: 88.23 kB / 0.6149 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.522e-05/0.6281, allocations: 44 kB / 0.6149 GB, free: 1.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003201/0.6313, allocations: 1.674 MB / 0.6165 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6313, allocations: 0 / 0.6165 GB, free: 15.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005082/0.6364, allocations: 1.018 MB / 0.6175 GB, free: 14.4 MB / 462.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.0005328/0.6369, allocations: 162.8 kB / 0.6177 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007068/0.644, allocations: 4.087 MB / 0.6217 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.6441, allocations: 3.938 kB / 0.6217 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6452, allocations: 0.7989 MB / 0.6225 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.6475, allocations: 296.8 kB / 0.6227 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.6631, allocations: 7.763 MB / 0.6303 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004923/0.6681, allocations: 3.107 MB / 0.6334 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003947/0.6721, allocations: 1.556 MB / 0.6349 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/0.6727, allocations: 171.4 kB / 0.635 GB, free: 12.33 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6727, allocations: 0 / 0.635 GB, free: 12.33 MB / 478.1 MB Notification: Performance of Templates: time 0.04423/0.7169, allocations: 19.59 MB / 0.6542 GB, free: 8.801 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches