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.001218/0.001218, allocations: 109.3 kB / 18.45 MB, free: 4.59 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.001118/0.001118, allocations: 179 kB / 19.38 MB, free: 3.672 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.286/1.286, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2036/0.2036, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3349, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01203/0.347, allocations: 11.55 MB / 0.5308 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007362/0.3544, allocations: 3.027 MB / 0.5338 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.3568, allocations: 62.53 kB / 0.5338 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.3603, allocations: 1.556 MB / 0.5354 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.3647, allocations: 1.58 MB / 0.5369 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.3653, allocations: 120.3 kB / 0.537 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005362/0.3707, allocations: 3.335 MB / 0.5403 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.3739, allocations: 2.185 MB / 0.5424 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.3765, allocations: 1.156 MB / 0.5435 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.3805, allocations: 2.434 MB / 0.5459 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007987/0.3813, allocations: 228 kB / 0.5461 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.383, allocations: 0.7099 MB / 0.5468 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.3846, allocations: 1.519 MB / 0.5483 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.3868, allocations: 1.832 MB / 0.5501 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00672/0.3936, allocations: 5.982 MB / 0.5559 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3936, allocations: 0 / 0.5559 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3936, allocations: 0 / 0.5559 GB, free: 6.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.3938, allocations: 0 / 0.5559 GB, free: 6.664 MB / 414.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.008232/0.402, allocations: 4.026 MB / 0.5599 GB, free: 2.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.4021, allocations: 12.03 kB / 0.5599 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.4123, allocations: 2.951 MB / 0.5628 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.4162, allocations: 1.843 MB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4164, allocations: 192.9 kB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007517/0.4172, allocations: 239.8 kB / 0.565 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.4326, allocations: 9.753 MB / 0.5745 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.4327, allocations: 19.88 kB / 0.5745 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/0.4331, allocations: 111.8 kB / 0.5746 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003626/0.4367, allocations: 2.362 MB / 0.5769 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.4536, allocations: 8.956 MB / 0.5857 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/0.4967, allocations: 29.49 MB / 0.6145 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.5032, allocations: 3.488 MB / 0.6179 GB, free: 5.727 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.5048, allocations: 1.099 MB / 0.619 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.5149, allocations: 6.464 MB / 0.6253 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.515, allocations: 55.09 kB / 0.6253 GB, free: 13.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.829e-06/0.515, allocations: 4 kB / 0.6253 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007815/0.5228, allocations: 3.126 MB / 0.6284 GB, free: 10.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.5229, allocations: 115.4 kB / 0.6285 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.5272, allocations: 2.734 MB / 0.6312 GB, free: 7.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5274, allocations: 45.69 kB / 0.6312 GB, free: 7.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.5293, allocations: 2.734 MB / 0.6339 GB, free: 4.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006324/0.53, allocations: 0.5246 MB / 0.6344 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.5315, allocations: 0.9245 MB / 0.6353 GB, free: 3.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.5316, allocations: 301.1 kB / 0.6356 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.5337, allocations: 1.406 MB / 0.6369 GB, free: 1.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/0.5378, allocations: 4.225 MB / 0.6411 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.5445, allocations: 6.159 MB / 0.6471 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-05/0.5447, allocations: 28 kB / 0.6471 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009702/0.5544, allocations: 5.458 MB / 0.6524 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.5545, allocations: 44 kB / 0.6525 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.5547, allocations: 100 kB / 0.6526 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.5549, allocations: 132 kB / 0.6527 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.558, allocations: 0.9942 MB / 0.6537 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00019/0.5582, allocations: 195.8 kB / 0.6539 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/0.5614, allocations: 0.6184 MB / 0.6545 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006367/0.5621, allocations: 288 kB / 0.6547 GB, free: 12.56 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003341/0.5655, allocations: 1.977 MB / 0.6567 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.5659, allocations: 232.8 kB / 0.6569 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.5666, allocations: 288.8 kB / 0.6572 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/0.5667, allocations: 16 kB / 0.6572 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.5667, allocations: 4 kB / 0.6572 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5667, allocations: 3.984 kB / 0.6572 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.5776, allocations: 6.192 MB / 0.6632 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5776, allocations: 8 kB / 0.6633 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.5783, allocations: 171.7 kB / 0.6634 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.5783, allocations: 12 kB / 0.6634 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.5784, allocations: 24.25 kB / 0.6634 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.5784, allocations: 23.92 kB / 0.6635 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.5785, allocations: 12 kB / 0.6635 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.5808, allocations: 2.006 MB / 0.6654 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.5814, allocations: 305.8 kB / 0.6657 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/0.5818, allocations: 28 kB / 0.6658 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.5827, allocations: 39.95 kB / 0.6658 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5828, allocations: 88.23 kB / 0.6659 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.5829, allocations: 51.97 kB / 0.6659 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002702/0.5856, allocations: 1.674 MB / 0.6676 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5857, allocations: 4 kB / 0.6676 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003803/0.5895, allocations: 1.038 MB / 0.6686 GB, free: 14.05 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 (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.0003898/0.5899, allocations: 154.9 kB / 0.6687 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004985/0.5949, allocations: 3.287 MB / 0.6719 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.5949, allocations: 0 / 0.6719 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.5959, allocations: 0.7904 MB / 0.6727 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.5979, allocations: 308.2 kB / 0.673 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.6135, allocations: 8.127 MB / 0.6809 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004407/0.618, allocations: 3.1 MB / 0.684 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.6187, allocations: 211.4 kB / 0.6842 GB, free: 13.94 MB / 0.545 GB Notification: Performance of SimCode: time 1.263e-06/0.6187, allocations: 4 kB / 0.6842 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Templates: time 0.06536/0.6841, allocations: 44.93 MB / 0.7281 GB, free: 1.113 MB / 0.5762 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/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