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.001082/0.001083, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.284, 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.01159/0.2956, allocations: 11.51 MB / 0.5429 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.3015, allocations: 3.06 MB / 0.5459 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3031, allocations: 65.88 kB / 0.5459 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.306, allocations: 1.568 MB / 0.5475 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.3098, allocations: 1.562 MB / 0.549 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.3102, allocations: 119.8 kB / 0.5491 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004062/0.3143, allocations: 3.301 MB / 0.5523 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.317, allocations: 2.191 MB / 0.5545 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.3187, allocations: 1.144 MB / 0.5556 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.322, allocations: 2.44 MB / 0.558 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.3226, allocations: 228 kB / 0.5582 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.324, allocations: 0.706 MB / 0.5589 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.3251, allocations: 1.496 MB / 0.5603 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.3266, allocations: 1.812 MB / 0.5621 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.3314, allocations: 5.919 MB / 0.5679 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3314, allocations: 0 / 0.5679 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3314, allocations: 0 / 0.5679 GB, free: 12.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.839e-05/0.3315, 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.005249/0.3367, allocations: 3.991 MB / 0.5718 GB, free: 8.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3368, allocations: 8.922 kB / 0.5718 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008979/0.3458, allocations: 2.963 MB / 0.5747 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.3486, allocations: 1.835 MB / 0.5765 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.3487, allocations: 184.9 kB / 0.5767 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.3491, allocations: 239.8 kB / 0.5769 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.3615, allocations: 9.76 MB / 0.5864 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.3615, allocations: 19.81 kB / 0.5864 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.3619, allocations: 115.8 kB / 0.5865 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/0.3657, allocations: 2.358 MB / 0.5888 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.3821, allocations: 8.956 MB / 0.5976 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03683/0.419, allocations: 29.49 MB / 0.6264 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006129/0.4251, allocations: 3.477 MB / 0.6298 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4266, allocations: 1.099 MB / 0.6309 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.4368, allocations: 6.477 MB / 0.6372 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4369, allocations: 43.16 kB / 0.6372 GB, free: 3.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 3.867e-06/0.4369, allocations: 0 / 0.6372 GB, free: 3.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.00772/0.4446, allocations: 3.126 MB / 0.6403 GB, free: 424 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.4447, allocations: 119.4 kB / 0.6404 GB, free: 280 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/0.4493, allocations: 2.729 MB / 0.6431 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.4494, allocations: 41.7 kB / 0.6431 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.4514, allocations: 2.731 MB / 0.6458 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/0.4519, allocations: 0.5207 MB / 0.6463 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.4532, allocations: 0.9284 MB / 0.6472 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.4533, allocations: 301.1 kB / 0.6475 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.4552, allocations: 1.406 MB / 0.6488 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/0.4591, allocations: 4.229 MB / 0.653 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006082/0.4652, allocations: 6.151 MB / 0.659 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/0.4652, allocations: 28 kB / 0.659 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007405/0.4727, allocations: 5.443 MB / 0.6643 GB, free: 4.844 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.4727, allocations: 56.19 kB / 0.6644 GB, free: 4.789 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.4729, allocations: 107.9 kB / 0.6645 GB, free: 4.684 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.473, allocations: 132 kB / 0.6646 GB, free: 4.555 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.4755, allocations: 0.9942 MB / 0.6656 GB, free: 3.559 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001421/0.4757, allocations: 199.2 kB / 0.6658 GB, free: 3.363 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.4781, allocations: 0.6107 MB / 0.6664 GB, free: 2.746 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/0.4784, allocations: 284 kB / 0.6666 GB, free: 2.469 MB / 0.5138 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.002549/0.481, allocations: 1.973 MB / 0.6686 GB, free: 492 kB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.4813, allocations: 236.8 kB / 0.6688 GB, free: 252 kB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.4818, allocations: 288.9 kB / 0.6691 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4818, allocations: 3.984 kB / 0.6691 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4818, allocations: 0 / 0.6691 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.4821, allocations: 297.8 kB / 0.6693 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.4824, allocations: 16.23 kB / 0.6694 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.4829, allocations: 39.97 kB / 0.6694 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4831, allocations: 56.52 kB / 0.6695 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002098/0.4852, allocations: 1.743 MB / 0.6712 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002033/0.4872, allocations: 1.944 MB / 0.6731 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000778/0.488, allocations: 0.6886 MB / 0.6737 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002033/0.49, allocations: 1.666 MB / 0.6754 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of Backend: time 2.7e-07/0.4901, allocations: 4 kB / 0.6754 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00449/0.4945, allocations: 2.735 MB / 0.678 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01235/0.5069, allocations: 7.827 MB / 0.6857 GB, free: 14.85 MB / 0.545 GB Notification: Performance of Templates: time 0.05184/0.5588, allocations: 26.63 MB / 0.7117 GB, free: 4.309 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