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.001475/0.001475, allocations: 109.1 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 208.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3291, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01279/0.3419, allocations: 11.51 MB / 0.5429 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007304/0.3493, allocations: 3.055 MB / 0.5459 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.3518, allocations: 62.75 kB / 0.5459 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.3556, allocations: 1.571 MB / 0.5475 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.3604, allocations: 1.564 MB / 0.549 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.361, allocations: 115.8 kB / 0.5491 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.3658, allocations: 3.297 MB / 0.5523 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.3688, allocations: 2.191 MB / 0.5545 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.3706, allocations: 1.148 MB / 0.5556 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.3739, allocations: 2.429 MB / 0.5579 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008547/0.3748, allocations: 228 kB / 0.5582 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.3767, allocations: 0.7099 MB / 0.5589 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.3786, allocations: 1.504 MB / 0.5603 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.3813, allocations: 1.805 MB / 0.5621 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006896/0.3882, allocations: 5.919 MB / 0.5679 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3882, allocations: 4 kB / 0.5679 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3882, allocations: 0 / 0.5679 GB, free: 12.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002065/0.3884, allocations: 0 / 0.5679 GB, free: 12.51 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.0084/0.3969, allocations: 3.991 MB / 0.5718 GB, free: 8.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3969, allocations: 12.92 kB / 0.5718 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.407, allocations: 2.967 MB / 0.5747 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.4107, allocations: 1.827 MB / 0.5765 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.4109, allocations: 184.9 kB / 0.5766 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000919/0.4118, allocations: 239.8 kB / 0.5769 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.4283, allocations: 9.76 MB / 0.5864 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.4285, allocations: 19.88 kB / 0.5864 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008367/0.4293, allocations: 111.8 kB / 0.5865 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003804/0.4331, allocations: 2.373 MB / 0.5888 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.4494, allocations: 8.948 MB / 0.5976 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0446/0.494, allocations: 29.49 MB / 0.6264 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006612/0.5007, allocations: 3.481 MB / 0.6298 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.5024, allocations: 1.103 MB / 0.6309 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.5131, allocations: 6.461 MB / 0.6372 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.5132, allocations: 47.16 kB / 0.6372 GB, free: 3.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.861e-06/0.5132, allocations: 0 / 0.6372 GB, free: 3.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007912/0.5211, allocations: 3.126 MB / 0.6403 GB, free: 424 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.5212, allocations: 119.4 kB / 0.6404 GB, free: 280 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/0.5261, allocations: 2.725 MB / 0.643 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.5263, allocations: 45.69 kB / 0.6431 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.5284, allocations: 2.735 MB / 0.6458 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007196/0.5291, allocations: 0.5206 MB / 0.6463 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.5307, allocations: 0.9245 MB / 0.6472 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.5308, allocations: 309.1 kB / 0.6475 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.5329, allocations: 1.399 MB / 0.6488 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/0.5371, allocations: 4.229 MB / 0.653 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006931/0.544, allocations: 6.143 MB / 0.659 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.794e-05/0.5442, allocations: 32 kB / 0.659 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009663/0.5538, allocations: 5.462 MB / 0.6643 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.554, allocations: 48 kB / 0.6644 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/0.5542, allocations: 100 kB / 0.6645 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.5543, allocations: 132 kB / 0.6646 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/0.5575, allocations: 0.9981 MB / 0.6656 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001603/0.5577, allocations: 191.8 kB / 0.6657 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.5609, allocations: 0.6107 MB / 0.6663 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006671/0.5616, allocations: 284 kB / 0.6666 GB, free: 2.473 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.003801/0.5654, allocations: 1.981 MB / 0.6685 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/0.5659, allocations: 232.8 kB / 0.6688 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.5667, allocations: 292.9 kB / 0.669 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/0.5667, allocations: 19.98 kB / 0.6691 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.5667, allocations: 0 / 0.6691 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5668, allocations: 3.984 kB / 0.6691 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.5785, allocations: 6.2 MB / 0.6751 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.5785, allocations: 4 kB / 0.6751 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.5792, allocations: 167.7 kB / 0.6753 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.5792, allocations: 12 kB / 0.6753 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.5793, allocations: 28 kB / 0.6753 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.5793, allocations: 15.94 kB / 0.6753 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.546e-05/0.5793, allocations: 19.92 kB / 0.6754 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.5816, allocations: 2.002 MB / 0.6773 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/0.5821, allocations: 305.8 kB / 0.6776 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.5823, allocations: 28 kB / 0.6776 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/0.583, allocations: 39.95 kB / 0.6777 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5831, allocations: 84.3 kB / 0.6778 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.5832, allocations: 47.98 kB / 0.6778 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002313/0.5855, allocations: 1.67 MB / 0.6794 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5855, allocations: 4 kB / 0.6794 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003821/0.5894, allocations: 1.026 MB / 0.6804 GB, free: 3.973 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.0003901/0.5898, allocations: 150.9 kB / 0.6806 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004874/0.5947, allocations: 3.283 MB / 0.6838 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5947, allocations: 0 / 0.6838 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009608/0.5957, allocations: 0.7943 MB / 0.6846 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.5973, allocations: 311 kB / 0.6849 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.6106, allocations: 8.119 MB / 0.6928 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/0.6142, allocations: 3.103 MB / 0.6958 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/0.6149, allocations: 211.4 kB / 0.696 GB, free: 3.871 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.6149, allocations: 0 / 0.696 GB, free: 3.871 MB / 0.545 GB Notification: Performance of Templates: time 0.3272/0.9421, allocations: 44.78 MB / 0.7398 GB, free: 152.5 MB / 0.5606 GB 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/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