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.006633/0.006633, allocations: 109.9 kB / 21.98 MB, free: 5.18 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.001766/0.001766, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.429/1.429, allocations: 230.5 MB / 258.9 MB, free: 7.992 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.2353/0.2353, allocations: 46.92 MB / 362.3 MB, free: 4.195 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.002395/0.002395, allocations: 80.19 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3266, allocations: 66.08 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01407/0.3406, allocations: 11.58 MB / 0.574 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007134/0.3478, allocations: 3.087 MB / 0.577 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.3494, allocations: 67.75 kB / 0.5771 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.3529, allocations: 1.608 MB / 0.5787 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.3574, allocations: 1.619 MB / 0.5803 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3579, allocations: 115.8 kB / 0.5804 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.3628, allocations: 3.306 MB / 0.5836 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.3657, allocations: 1.901 MB / 0.5854 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.368, allocations: 1.16 MB / 0.5866 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.3724, allocations: 2.605 MB / 0.5891 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007545/0.3731, allocations: 232 kB / 0.5893 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.3749, allocations: 0.7371 MB / 0.5901 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.3767, allocations: 1.534 MB / 0.5916 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.379, allocations: 1.816 MB / 0.5933 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008436/0.3874, allocations: 5.943 MB / 0.5991 GB, free: 14.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3874, allocations: 3.938 kB / 0.5991 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3874, allocations: 0 / 0.5991 GB, free: 14.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001875/0.3876, allocations: 0 / 0.5991 GB, free: 14.76 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.007803/0.3954, allocations: 4.029 MB / 0.6031 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3954, allocations: 12.03 kB / 0.6031 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009542/0.405, allocations: 2.993 MB / 0.606 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.4097, allocations: 1.771 MB / 0.6077 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.4099, allocations: 184.9 kB / 0.6079 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007941/0.4107, allocations: 239.8 kB / 0.6081 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.4275, allocations: 9.756 MB / 0.6177 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.229e-05/0.4275, allocations: 15.88 kB / 0.6177 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.4279, allocations: 111.8 kB / 0.6178 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003781/0.4317, allocations: 2.369 MB / 0.6201 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.4498, allocations: 8.942 MB / 0.6288 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/0.4962, allocations: 29.47 MB / 0.6576 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00622/0.5024, allocations: 2.468 MB / 0.66 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.504, allocations: 1.017 MB / 0.661 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009829/0.5139, allocations: 4.919 MB / 0.6658 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.5139, allocations: 51.14 kB / 0.6659 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.282e-06/0.5139, allocations: 3.984 kB / 0.6659 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007882/0.5218, allocations: 3.131 MB / 0.6689 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.5219, allocations: 123.4 kB / 0.6691 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.526, allocations: 2.738 MB / 0.6717 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.5261, allocations: 45.69 kB / 0.6718 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.5283, allocations: 2.845 MB / 0.6746 GB, free: 144 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.5289, allocations: 0.5353 MB / 0.6751 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.5302, allocations: 0.9369 MB / 0.676 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5303, allocations: 305.1 kB / 0.6763 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.5324, allocations: 1.403 MB / 0.6777 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/0.5369, allocations: 4.229 MB / 0.6818 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007582/0.5445, allocations: 6.155 MB / 0.6878 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.513e-05/0.5446, allocations: 28 kB / 0.6878 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01088/0.5554, allocations: 5.464 MB / 0.6932 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/0.5555, allocations: 44 kB / 0.6932 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.5557, allocations: 104.1 kB / 0.6933 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.5558, allocations: 135.9 kB / 0.6934 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/0.5589, allocations: 0.9942 MB / 0.6944 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001772/0.559, allocations: 195.2 kB / 0.6946 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.5621, allocations: 0.632 MB / 0.6952 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005259/0.5626, allocations: 288 kB / 0.6955 GB, free: 7.855 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.003417/0.566, allocations: 1.973 MB / 0.6974 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.5666, allocations: 246.3 kB / 0.6976 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000579/0.5671, allocations: 288.8 kB / 0.6979 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.962e-05/0.5672, allocations: 16 kB / 0.6979 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.5672, allocations: 256 / 0.6979 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.5672, allocations: 7.984 kB / 0.6979 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5787, allocations: 6.171 MB / 0.704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.5787, allocations: 8 kB / 0.704 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.5793, allocations: 163.7 kB / 0.7041 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/0.5793, allocations: 12 kB / 0.7041 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.5794, allocations: 28 kB / 0.7042 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/0.5794, allocations: 20.52 kB / 0.7042 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.5794, allocations: 15.94 kB / 0.7042 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.5821, allocations: 2.007 MB / 0.7062 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.5827, allocations: 250.2 kB / 0.7064 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.5829, allocations: 24 kB / 0.7064 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.5835, allocations: 47.95 kB / 0.7065 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.5837, allocations: 84.19 kB / 0.7065 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.5838, allocations: 55.97 kB / 0.7066 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002663/0.5864, allocations: 1.666 MB / 0.7082 GB, free: 10.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5864, allocations: 0 / 0.7082 GB, free: 10.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003895/0.5903, allocations: 1.028 MB / 0.7092 GB, free: 9.449 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.0004106/0.5907, allocations: 170.7 kB / 0.7094 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005426/0.5962, allocations: 3.135 MB / 0.7125 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.5962, allocations: 4 kB / 0.7125 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5973, allocations: 0.7419 MB / 0.7132 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.599, allocations: 295.8 kB / 0.7135 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.6164, allocations: 8.256 MB / 0.7215 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003966/0.6203, allocations: 3.107 MB / 0.7246 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/0.6211, allocations: 215.4 kB / 0.7248 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/0.6211, allocations: 4 kB / 0.7248 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of Templates: time 0.3236/0.9446, allocations: 44.98 MB / 0.7687 GB, free: 127.7 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 11.521001243032515]