Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001739/0.001739, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 218.2 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.235/0.235, allocations: 46.89 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 75.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3425, allocations: 65.98 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01409/0.3566, allocations: 11.58 MB / 0.5725 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008301/0.3649, allocations: 3.083 MB / 0.5755 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.3666, allocations: 63.88 kB / 0.5756 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.3699, allocations: 1.604 MB / 0.5771 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.3738, allocations: 1.607 MB / 0.5787 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3741, allocations: 111.9 kB / 0.5788 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.3788, allocations: 3.302 MB / 0.582 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.3812, allocations: 1.711 MB / 0.5837 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.3831, allocations: 1.144 MB / 0.5848 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003895/0.387, allocations: 2.594 MB / 0.5873 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007513/0.3877, allocations: 228 kB / 0.5876 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.3893, allocations: 0.7216 MB / 0.5883 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.391, allocations: 1.542 MB / 0.5898 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.3931, allocations: 1.812 MB / 0.5915 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008594/0.4017, allocations: 5.943 MB / 0.5973 GB, free: 15.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.4018, allocations: 3.984 kB / 0.5974 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4018, allocations: 4 kB / 0.5974 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001834/0.4019, allocations: 0 / 0.5974 GB, free: 15.8 MB / 446.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.008832/0.4108, allocations: 4.101 MB / 0.6014 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4108, allocations: 8.031 kB / 0.6014 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4216, allocations: 2.989 MB / 0.6043 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.4266, allocations: 1.84 MB / 0.6061 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.4268, allocations: 188.9 kB / 0.6063 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000676/0.4275, allocations: 239.8 kB / 0.6065 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.4449, allocations: 9.753 MB / 0.616 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.636e-05/0.445, allocations: 19.81 kB / 0.616 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003661/0.4454, allocations: 115.8 kB / 0.6161 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004278/0.4497, allocations: 2.369 MB / 0.6185 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02177/0.4714, allocations: 8.95 MB / 0.6272 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04999/0.5214, allocations: 29.56 MB / 0.6561 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007345/0.5287, allocations: 3.367 MB / 0.6594 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.5307, allocations: 1.022 MB / 0.6604 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.5438, allocations: 6.474 MB / 0.6667 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.5439, allocations: 47.16 kB / 0.6667 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.919e-06/0.5439, allocations: 4 kB / 0.6667 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008551/0.5524, allocations: 3.147 MB / 0.6698 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5525, allocations: 119.5 kB / 0.6699 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005349/0.5579, allocations: 2.734 MB / 0.6726 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.558, allocations: 37.7 kB / 0.6726 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.5606, allocations: 2.841 MB / 0.6754 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007185/0.5613, allocations: 0.5466 MB / 0.6759 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/0.5628, allocations: 0.9369 MB / 0.6768 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5629, allocations: 301.1 kB / 0.6771 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.5652, allocations: 1.406 MB / 0.6785 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0051/0.5703, allocations: 4.221 MB / 0.6826 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/0.578, allocations: 6.159 MB / 0.6886 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.782e-05/0.5781, allocations: 28 kB / 0.6887 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00962/0.5877, allocations: 5.468 MB / 0.694 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.223e-05/0.5878, allocations: 48 kB / 0.694 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.588, allocations: 104 kB / 0.6941 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.5881, allocations: 128 kB / 0.6943 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.5913, allocations: 0.9981 MB / 0.6952 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002314/0.5915, allocations: 191.3 kB / 0.6954 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.5948, allocations: 0.632 MB / 0.696 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005032/0.5953, allocations: 288.3 kB / 0.6963 GB, free: 5.559 MB / 0.5294 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.003406/0.5987, allocations: 1.977 MB / 0.6983 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005269/0.5993, allocations: 242.3 kB / 0.6985 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.5999, allocations: 292.7 kB / 0.6988 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.6, allocations: 16 kB / 0.6988 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.6, allocations: 4 kB / 0.6988 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6, allocations: 3.984 kB / 0.6988 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.6125, allocations: 6.189 MB / 0.7048 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/0.6125, allocations: 11.94 kB / 0.7048 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.6133, allocations: 171.8 kB / 0.705 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/0.6133, allocations: 12 kB / 0.705 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.6134, allocations: 24 kB / 0.705 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/0.6134, allocations: 20.17 kB / 0.7051 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.6134, allocations: 11.94 kB / 0.7051 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.6163, allocations: 2.019 MB / 0.707 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.617, allocations: 323.1 kB / 0.7073 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.6175, allocations: 20 kB / 0.7074 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.6183, allocations: 47.95 kB / 0.7074 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6185, allocations: 92.22 kB / 0.7075 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.6186, allocations: 47.98 kB / 0.7075 GB, free: 9.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003288/0.6219, allocations: 1.666 MB / 0.7092 GB, free: 8.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6219, allocations: 0 / 0.7092 GB, free: 8.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003843/0.6257, allocations: 1.035 MB / 0.7102 GB, free: 7.023 MB / 0.545 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.0004008/0.6261, allocations: 158.9 kB / 0.7103 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00525/0.6314, allocations: 3.127 MB / 0.7134 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6314, allocations: 4.062 kB / 0.7134 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.6325, allocations: 0.7466 MB / 0.7141 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.6342, allocations: 308 kB / 0.7144 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.6486, allocations: 7.812 MB / 0.722 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004649/0.6532, allocations: 3.095 MB / 0.7251 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003812/0.6571, allocations: 1.548 MB / 0.7266 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/0.6576, allocations: 167.4 kB / 0.7267 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.6576, allocations: 0 / 0.7267 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of Templates: time 0.2749/0.9325, allocations: 18.97 MB / 0.7453 GB, free: 151.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.587567351292819]