Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 197.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007488/0.0007489, allocations: 104.1 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3109/0.3109, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002589, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4134, allocations: 62.96 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0181/0.4316, allocations: 26.14 MB / 0.5414 GB, free: 18.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4434, allocations: 5.581 MB / 0.5469 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00431/0.4478, allocations: 122.1 kB / 0.547 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.4512, allocations: 1.276 MB / 0.5482 GB, free: 14.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.4614, allocations: 3.858 MB / 0.552 GB, free: 12.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.4632, allocations: 124.5 kB / 0.5521 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03804/0.5012, allocations: 31.31 MB / 0.5827 GB, free: 4.934 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00431/0.5056, allocations: 2.738 MB / 0.5854 GB, free: 2.133 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.5075, allocations: 0.9573 MB / 0.5863 GB, free: 1.172 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06875/0.5762, allocations: 57.43 MB / 0.6424 GB, free: 7.664 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008244/0.5771, allocations: 120 kB / 0.6425 GB, free: 7.547 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.5788, allocations: 0.6318 MB / 0.6431 GB, free: 6.914 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.5802, allocations: 1.363 MB / 0.6444 GB, free: 5.547 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.5819, allocations: 1.62 MB / 0.646 GB, free: 3.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.5868, allocations: 4.551 MB / 0.6505 GB, free: 15.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5868, allocations: 0 / 0.6505 GB, free: 15.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5868, allocations: 0 / 0.6505 GB, free: 15.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001789/0.587, allocations: 0 / 0.6505 GB, free: 15.35 MB / 474.7 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.006723/0.5937, allocations: 3.293 MB / 0.6537 GB, free: 11.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.5938, allocations: 8.031 kB / 0.6537 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009254/0.6031, allocations: 3.053 MB / 0.6567 GB, free: 8.918 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.6071, allocations: 1.808 MB / 0.6584 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.6073, allocations: 184.9 kB / 0.6586 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006213/0.608, allocations: 239.8 kB / 0.6588 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.623, allocations: 9.745 MB / 0.6684 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/0.6231, allocations: 15.88 kB / 0.6684 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/0.6235, allocations: 119.8 kB / 0.6685 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003445/0.6269, allocations: 2.358 MB / 0.6708 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.6439, allocations: 8.909 MB / 0.6795 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2826/0.9266, allocations: 29.75 MB / 0.7085 GB, free: 116.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006354/0.933, allocations: 3.474 MB / 0.7119 GB, free: 114.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.9348, allocations: 1.1 MB / 0.713 GB, free: 114.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.9456, allocations: 6.465 MB / 0.7193 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.9457, allocations: 51.98 kB / 0.7194 GB, free: 110.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 4.628e-06/0.9457, allocations: 0 / 0.7194 GB, free: 110.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.007601/0.9533, allocations: 3.116 MB / 0.7224 GB, free: 109.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.9534, allocations: 112.9 kB / 0.7225 GB, free: 109.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.957, allocations: 2.725 MB / 0.7252 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.9572, allocations: 44.41 kB / 0.7252 GB, free: 108.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.9586, allocations: 2.735 MB / 0.7279 GB, free: 106.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.9591, allocations: 0.5167 MB / 0.7284 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.9592, allocations: 90.58 kB / 0.7285 GB, free: 105.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.9595, allocations: 0.5028 MB / 0.729 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.9614, allocations: 1.389 MB / 0.7303 GB, free: 105.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/0.9641, allocations: 4.208 MB / 0.7344 GB, free: 100.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004653/0.9688, allocations: 6.133 MB / 0.7404 GB, free: 94.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-05/0.9688, allocations: 29.38 kB / 0.7405 GB, free: 94.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.006583/0.9754, allocations: 5.415 MB / 0.7458 GB, free: 91.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.9755, allocations: 48 kB / 0.7458 GB, free: 91.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/0.9756, allocations: 100 kB / 0.7459 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-05/0.9757, allocations: 132 kB / 0.746 GB, free: 90.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.978, allocations: 0.9942 MB / 0.747 GB, free: 89.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.781e-05/0.9781, allocations: 195.8 kB / 0.7472 GB, free: 89.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.9807, allocations: 0.6185 MB / 0.7478 GB, free: 89.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.981, allocations: 295.1 kB / 0.7481 GB, free: 88.85 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002422/0.9834, allocations: 1.969 MB / 0.75 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.9837, allocations: 228.9 kB / 0.7502 GB, free: 86.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.9842, allocations: 288.8 kB / 0.7505 GB, free: 86.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.9842, allocations: 19.62 kB / 0.7505 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.9842, allocations: 4.25 kB / 0.7505 GB, free: 86.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.9842, allocations: 11.97 kB / 0.7505 GB, free: 86.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.9918, allocations: 6.186 MB / 0.7566 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.9918, allocations: 11.98 kB / 0.7566 GB, free: 79.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.9924, allocations: 171.7 kB / 0.7567 GB, free: 79.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9924, allocations: 12 kB / 0.7567 GB, free: 79.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.9925, allocations: 24 kB / 0.7568 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.9925, allocations: 15.94 kB / 0.7568 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.9925, allocations: 8 kB / 0.7568 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.9942, allocations: 1.994 MB / 0.7587 GB, free: 77.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/0.9946, allocations: 325.6 kB / 0.759 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.9949, allocations: 27.98 kB / 0.7591 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.9954, allocations: 39.97 kB / 0.7591 GB, free: 77.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9956, allocations: 96.06 kB / 0.7592 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/0.9956, allocations: 48 kB / 0.7592 GB, free: 77.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001967/0.9976, allocations: 1.658 MB / 0.7609 GB, free: 75.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.9976, allocations: 0 / 0.7609 GB, free: 75.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00415/1.002, allocations: 1.041 MB / 0.7619 GB, free: 74.38 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/1.002, allocations: 153.2 kB / 0.762 GB, free: 74.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004245/1.006, allocations: 3.235 MB / 0.7652 GB, free: 71.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.006, allocations: 0 / 0.7652 GB, free: 71.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000816/1.007, allocations: 0.791 MB / 0.766 GB, free: 70.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/1.011, allocations: 292.9 kB / 0.7662 GB, free: 69.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.023, allocations: 9.853 MB / 0.7759 GB, free: 59.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/1.026, allocations: 3.104 MB / 0.7789 GB, free: 56.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/1.026, allocations: 211.4 kB / 0.7791 GB, free: 56.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/1.026, allocations: 0 / 0.7791 GB, free: 56.63 MB / 490.7 MB Notification: Performance of Templates: time 0.05929/1.086, allocations: 43.64 MB / 0.8217 GB, free: 13.06 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches