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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001551/0.001551, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 72.16 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01327/0.3787, allocations: 11.5 MB / 0.5417 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008622/0.3874, allocations: 3.058 MB / 0.5447 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.3904, allocations: 63.62 kB / 0.5448 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.3941, allocations: 1.575 MB / 0.5463 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.3993, allocations: 1.561 MB / 0.5478 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3998, allocations: 119.7 kB / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004991/0.4048, allocations: 3.3 MB / 0.5512 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.4077, allocations: 2.203 MB / 0.5533 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.4096, allocations: 1.14 MB / 0.5544 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.413, allocations: 2.431 MB / 0.5568 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000764/0.4137, allocations: 232 kB / 0.557 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4154, allocations: 0.7021 MB / 0.5577 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.4169, allocations: 1.5 MB / 0.5592 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.4189, allocations: 1.812 MB / 0.561 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006675/0.4256, allocations: 5.919 MB / 0.5667 GB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4256, allocations: 0 / 0.5667 GB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4257, allocations: 0 / 0.5667 GB, free: 12.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001793/0.4258, allocations: 0 / 0.5667 GB, free: 12.58 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.009009/0.4349, allocations: 3.983 MB / 0.5706 GB, free: 8.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4349, allocations: 8.031 kB / 0.5706 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/0.4361, allocations: 0.6916 MB / 0.5713 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009845/0.446, allocations: 2.963 MB / 0.5742 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.4509, allocations: 1.839 MB / 0.576 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.4511, allocations: 192.7 kB / 0.5762 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009183/0.452, allocations: 235.8 kB / 0.5764 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.4684, allocations: 9.753 MB / 0.5859 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/0.4686, allocations: 19.81 kB / 0.5859 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.469, allocations: 115.8 kB / 0.5861 GB, free: 8.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003746/0.4727, allocations: 2.369 MB / 0.5884 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/0.4895, allocations: 8.944 MB / 0.5971 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04245/0.532, allocations: 29.5 MB / 0.6259 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006431/0.5384, allocations: 3.474 MB / 0.6293 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.5401, allocations: 1.107 MB / 0.6304 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.5511, allocations: 6.453 MB / 0.6367 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.5511, allocations: 55.14 kB / 0.6367 GB, free: 2.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.508e-06/0.5511, allocations: 3.938 kB / 0.6367 GB, free: 2.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007534/0.5587, allocations: 3.126 MB / 0.6398 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.5588, allocations: 111.5 kB / 0.6399 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.5626, allocations: 2.733 MB / 0.6426 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.5627, allocations: 41.7 kB / 0.6426 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/0.5647, allocations: 2.735 MB / 0.6453 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.5653, allocations: 0.5168 MB / 0.6458 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.5664, allocations: 0.9284 MB / 0.6467 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5665, allocations: 305.1 kB / 0.647 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.5684, allocations: 1.403 MB / 0.6484 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.5723, allocations: 4.225 MB / 0.6525 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006649/0.5789, allocations: 6.155 MB / 0.6585 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.884e-05/0.579, allocations: 28 kB / 0.6585 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008964/0.588, allocations: 5.458 MB / 0.6638 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.5881, allocations: 48 kB / 0.6639 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/0.5882, allocations: 96 kB / 0.664 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.5884, allocations: 132 kB / 0.6641 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.5913, allocations: 0.9948 MB / 0.6651 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001405/0.5914, allocations: 195.2 kB / 0.6653 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.5942, allocations: 0.6146 MB / 0.6659 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/0.5946, allocations: 288 kB / 0.6661 GB, free: 1.848 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.002657/0.5973, allocations: 1.969 MB / 0.6681 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.5977, allocations: 232.8 kB / 0.6683 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.5981, allocations: 288.8 kB / 0.6686 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/0.5982, allocations: 19.91 kB / 0.6686 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.5982, allocations: 256 / 0.6686 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5982, allocations: 11.98 kB / 0.6686 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009658/0.6079, allocations: 6.204 MB / 0.6747 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.6079, allocations: 8 kB / 0.6747 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.6086, allocations: 159.8 kB / 0.6748 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.6086, allocations: 12 kB / 0.6748 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.6087, allocations: 31.94 kB / 0.6749 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.6087, allocations: 15.98 kB / 0.6749 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.6087, allocations: 11.94 kB / 0.6749 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.611, allocations: 1.998 MB / 0.6768 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.6115, allocations: 309.8 kB / 0.6771 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6118, allocations: 27.98 kB / 0.6772 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.6124, allocations: 47.95 kB / 0.6772 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6126, allocations: 84.23 kB / 0.6773 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.6127, allocations: 51.98 kB / 0.6773 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002467/0.6151, allocations: 1.662 MB / 0.679 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6152, allocations: 4 kB / 0.679 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004216/0.6194, allocations: 1.03 MB / 0.68 GB, free: 3.352 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.002834/0.6222, allocations: 2.644 MB / 0.6825 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004908/0.6272, allocations: 3.283 MB / 0.6858 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.6272, allocations: 4 kB / 0.6858 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.6281, allocations: 0.7943 MB / 0.6865 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6296, allocations: 296.4 kB / 0.6868 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04297/0.6726, allocations: 30.89 MB / 0.717 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/0.6772, allocations: 3.096 MB / 0.72 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00357/0.6808, allocations: 1.552 MB / 0.7215 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/0.6831, allocations: 1.597 MB / 0.7231 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of SimCode: time 2.324e-06/0.6831, allocations: 4 kB / 0.7231 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/1.006, allocations: 41.93 MB / 0.764 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.15, allocations: 7.984 kB / 0.764 GB, free: 156.7 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches